Property VLImageAdjust.TVLImageAdjust.Lightness
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
Line 10: | Line 10: | ||
=== Delphi: === | === Delphi: === | ||
<code> | <code> | ||
− | '''property''' Lightness : Single '''read''' FLightness '''write''' SetLightness; | + | '''property''' Lightness : Single '''read''' FLightness '''write''' SetLightness '''default''' 1; |
</code> | </code> | ||
=== C++ Builder: === | === C++ Builder: === | ||
<code> | <code> | ||
− | '''__property''' float Lightness = { '''read'''=FLightness, '''write'''=SetLightness }; | + | '''__property''' float Lightness = { '''read'''=FLightness, '''write'''=SetLightness, '''default'''=1 }; |
</code> | </code> | ||
Revision as of 20:29, 10 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 Lightness : Single read FLightness write SetLightness default 1;
C++ Builder:
__property float Lightness = { read=FLightness, write=SetLightness, default=1 };
Summary
Adjusts the Lightness.
Description
Use this property to adjust the Lightness.
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.Lightness := 1.5;
C++ Builder example:
VLRotate1->Lightness = 1.5;
Visual C++(MFC) example:
VLRotate1.Lightness = 1.5;
Visual C++/CLI example:
rotate1->Lightness = 1.5;
C# example:
rotate1.Lightness = 1.5;
VB example:
Rotate1.Lightness = 1.5