BrightnessContrastEffect Class
An effect that modifies the brightness and/or contrast of the result produced by a layer or a view.
NuGet/Assembly: Carmenta.Engine.5.17.0.nupkg (in the CECore assembly)
Syntax
public class BrightnessContrastEffect : EffectRemarks
The order of application is Brightness followed by Contrast.
![]() |
Inheritance Hierarchy
System.Object
EngineObject
ResourceObject
Effect
BrightnessContrastEffect
Platforms
Windows, Linux, Android
BrightnessContrastEffect Members
The BrightnessContrastEffect type has the following members.
Constructors
| Name | Description |
|---|---|
| BrightnessContrastEffect | Initializes a new instance of the BrightnessContrastEffect class. |
Properties
| Name | Description |
|---|---|
| Brightness | Gets or sets the value that the lightness component of the color in HSL space will be scaled with. |
| Contrast | Gets or sets the value that will be used to scale the distance from from gray. |
| IsDisposed | Gets a value that tells whether the current BrightnessContrastEffect has been disposed. Inherited from EngineObject |
| Name | Gets or sets the name of the BrightnessContrastEffect. Inherited from ResourceObject |
| NativeHandle | Gets the native Carmenta Engine kernel object the current BrightnessContrastEffect represents. Inherited from EngineObject |
| Strength | Gets or sets the strength of the effect. Inherited from Effect |
| IUserProperties.UserProperties | Gets the AttributeSet that contains the user properties. Inherited from IUserProperties |
Methods
| Name | Description |
|---|---|
| Clone | Creates a copy of an object. Inherited from EngineObject |
| Dispose | Releases the reference to the native Carmenta Engine kernel instance the EngineObject represents. Inherited from EngineObject |
| Equals | Determines whether this instance is equal to another. Inherited from EngineObject |
