Class ChainAdjustLightnessEffect
public class ChainAdjustLightnessEffect : BaseChainedEffect, INotifyPropertyChanged, IDisposable, IRenderEffect, ISkiaEffect, ICanBeUpdatedWithContext, ICanBeUpdated
- Inheritance
-
ChainAdjustLightnessEffect
- Implements
- Inherited Members
- Extension Methods
Fields
ValueProperty
public static readonly BindableProperty ValueProperty
Field Value
Properties
NeedApply
public override bool NeedApply { get; }
Property Value
Value
public float Value { get; set; }
Property Value
Methods
CreateLightnessFilter(float)
-1 -> 0 -> 1
public static SKColorFilter CreateLightnessFilter(float value)
Parameters
valuefloat
Returns
Draw(DrawingContext, Action<DrawingContext>)
Returns true if has drawn control itsself, otherwise it will be drawn over it
public override ChainEffectResult Draw(DrawingContext ctx, Action<DrawingContext> drawControl)
Parameters
ctxDrawingContextdrawControlAction<DrawingContext>