Property VLImageAdjust.TVLImageAdjust.Saturation

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(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''' Saturation : Single '''read''' FSaturation '''write''' SetSaturation;
+
'''property''' Saturation : Single '''read''' FSaturation '''write''' SetSaturation '''default''' 1;
 
</code>
 
</code>
  
 
=== C++ Builder: ===
 
=== C++ Builder: ===
 
<code>
 
<code>
'''__property''' float Saturation = { '''read'''=FSaturation,  '''write'''=SetSaturation };
+
'''__property''' float Saturation = { '''read'''=FSaturation,  '''write'''=SetSaturation,  '''default'''=1 };
 
</code>
 
</code>
  
Line 25: Line 25:
 
</code>
 
</code>
 
Use this property to adjust the Saturation.
 
Use this property to adjust the Saturation.
 +
 +
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 Saturation : Single read FSaturation write SetSaturation default 1;

C++ Builder:

__property float Saturation = { read=FSaturation, write=SetSaturation, default=1 };

Summary

Adjusts the Saturation.

Description

Use this property to adjust the Saturation.

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.Saturation := 1.5;

C++ Builder example:

VLRotate1->Saturation = 1.5;

Visual C++(MFC) example:

VLRotate1.Saturation = 1.5;

Visual C++/CLI example:

rotate1->Saturation = 1.5;

C# example:

rotate1.Saturation = 1.5;

VB example:

Rotate1.Saturation = 1.5

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox