Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> Public Enum FunctionalLightCommandBitmapEffectsFlags Inherits Enum |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[FlagsAttribute()] public enum FunctionalLightCommandBitmapEffectsFlags : Enum |
C++/CLI | |
---|---|
[FlagsAttribute()] public enum class FunctionalLightCommandBitmapEffectsFlags : public Enum |
XAML Attributes Usage | |
---|---|
<object property=EnumerationValue .../> |
XAML Attributes Usage | |
---|---|
<object property=EnumerationValue .../> |
Member | Description |
---|---|
None | No Flags selected. |
LinearQuadratic | If this flag is set, the light will be computed according to the distance from the center, which is in the Origin property of the FunctionalLightCommandBitmapEffect class. The brightness increase for every pixel is proportional to the distance to the effect’s center. If this flag is set, do not set Trigonometry or Freehand. |
Trigonometry | If this flag is set then the light will be generated by a sine or cosine function. If this is set, the frequency, angle and origin information are used to compute the light. If this flag is set, do not set LinearQuadratic or Freehand. |
Freehand | If this flag is set, the user will pass the light shape in the Buffer property of the FunctionalLightCommandBitmapEffect class. If this flag is set, the angle and buffer information will be used. The Angle property, or angle parameter, will determine the angle of the light lines compared to the X axis. If this flag is set, do not set LinearQuadratic or Trigonometry. |
LinearInner | The light will be concentrated at the center and will decrease outwards. The center can be found in the Origin property or the origin parameter. This flag is valid only if LinearQuadratic is also set. |
LinearOuter | The light will be concentrated at the far points from the center and will decrease inwards towards the center. The center can be found in the Origin property or the origin parameter. This flag is valid only if LinearQuadratic is also set. |
QuadraticInner | The light will be concentrated at the center and will decrease outwards. The center can be found in the Origin property or the origin parameter. This flag is valid only if LinearQuadratic is also set. |
QuadraticOuter | The light will be concentrated at the far points from the center and will decrease inwards towards the center. The center can be found in the Origin property or the origin parameter. This flag is valid only if LinearQuadratic is also set. |
Unidirection |
A sine or cosine function will generate the light as lines.
This flag is valid only if Trigonometry is also set. The lines are parallel and have no center. The Angle property of the FunctionalLightCommandBitmapEffect class determines the angle formed by these lines with the X axis. |
Circles | Sine or cosine function will generate the light as circles around the center. The center can be found in the Origin property. This flag is valid only if Trigonometry is also set. |
Addition | The amplitude values are multiplied with the results of the selected function (sine, cosine, freehand). The results are then added to the pixel values of the equivalent channel. These functions as well as the real buffer values are from –1 to 1. This flag is valid only if Trigonometry or Freehand are also set. |
Multiply | Multiply the color factor specified by the RedAmplitude property of the FunctionalLightCommandBitmapEffect class, with the results of the selected function (sine, cosine, freehand). The results are multiplied with every channel value. This flag is valid only if Trigonometry or Freehand are also set. |
System.Object
System.ValueType
System.Enum
Leadtools.Windows.Media.Effects.SpecialEffects.FunctionalLightCommandBitmapEffectsFlags
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family