Property VLImageAdjust.TVLImageAdjust.Hue
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
(6 intermediate revisions by one user not shown) | |||
Line 10: | Line 10: | ||
=== Delphi: === | === Delphi: === | ||
<code> | <code> | ||
− | '''property''' Hue : Single '''read''' FHue '''write''' SetHue; | + | '''property''' Hue : Single '''read''' FHue '''write''' SetHue '''default''' 0; |
</code> | </code> | ||
=== C++ Builder: === | === C++ Builder: === | ||
<code> | <code> | ||
− | '''__property''' float Hue = { '''read'''=FHue, '''write'''=SetHue }; | + | '''__property''' float Hue = { '''read'''=FHue, '''write'''=SetHue, '''default'''=0 }; |
</code> | </code> | ||
Line 25: | Line 25: | ||
</code> | </code> | ||
Use this property to adjust the Hue. | Use this property to adjust the Hue. | ||
+ | |||
+ | The value is a multiplication coefficient. | ||
+ | |||
+ | |||
+ | |||
+ | Examples: | ||
+ | |||
+ | 1 - will preserve the value. | ||
+ | |||
+ | 0.5 - will result in half the value. | ||
+ | |||
+ | 2 - will result in twice the value. | ||
Latest revision as of 00:11, 26 June 2013
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Class: TVLImageAdjust
Contents |
Syntax
Delphi:
property Hue : Single read FHue write SetHue default 0;
C++ Builder:
__property float Hue = { read=FHue, write=SetHue, default=0 };
Summary
Adjusts the Hue.
Description
Use this property to adjust the Hue.
The value is a multiplication coefficient.
Examples:
1 - will preserve the value.
0.5 - will result in half the value.
2 - will result in twice the value.
Delphi example:
VLRotate1.Hue := 1.5;
C++ Builder example:
VLRotate1->Hue = 1.5;
Visual C++(MFC) example:
VLRotate1.Hue = 1.5;
Visual C++/CLI example:
rotate1->Hue = 1.5;
C# example:
rotate1.Hue = 1.5;
VB example:
Rotate1.Hue = 1.5