Class RippleAnimator
public class RippleAnimator : RenderingAnimator, IOverlayEffect, ICanRenderOnCanvas, ISkiaAnimator, IDisposable
- Inheritance
-
RippleAnimator
- Implements
- Inherited Members
- Extension Methods
Constructors
RippleAnimator(IDrawnBase)
public RippleAnimator(IDrawnBase control)
Parameters
controlIDrawnBase
Fields
DiameterDefault
public static double DiameterDefault
Field Value
OpacityDefault
public static double OpacityDefault
Field Value
Paint
protected SKPaint Paint
Field Value
count
protected static long count
Field Value
Properties
Color
public SKColor Color { get; set; }
Property Value
Diameter
public double Diameter { get; set; }
Property Value
Opacity
public double Opacity { get; set; }
Property Value
X
In pts relative to control X,Y. These are coords inside the control and not inside the canvas.
public double X { get; set; }
Property Value
Y
In pts relative to control X,Y. These are coords inside the control and not inside the canvas.
public double Y { get; set; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public override void Dispose()
OnRendering(DrawingContext, IDrawnBase)
return true if has drawn something and rendering needs to be applied
protected override bool OnRendering(DrawingContext context, IDrawnBase control)
Parameters
contextDrawingContextcontrolIDrawnBase
Returns
TransformReportedValue(long)
/// Passed over mValue, you can change the reported passed value here
protected override double TransformReportedValue(long deltaT)
Parameters
deltaTlong
Returns
- double
modified mValue for callback consumer