Table of Contents

Class RippleAnimator

Namespace
DrawnUi.Draw
Assembly
DrawnUi.Maui.dll
public class RippleAnimator : RenderingAnimator, IOverlayEffect, ICanRenderOnCanvas, ISkiaAnimator, IDisposable
Inheritance
RippleAnimator
Implements
Inherited Members
Extension Methods

Constructors

RippleAnimator(IDrawnBase)

public RippleAnimator(IDrawnBase control)

Parameters

control IDrawnBase

Fields

DiameterDefault

public static double DiameterDefault

Field Value

double

OpacityDefault

public static double OpacityDefault

Field Value

double

Paint

protected SKPaint Paint

Field Value

SKPaint

count

protected static long count

Field Value

long

Properties

Color

public SKColor Color { get; set; }

Property Value

SKColor

Diameter

public double Diameter { get; set; }

Property Value

double

Opacity

public double Opacity { get; set; }

Property Value

double

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

double

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

double

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

context DrawingContext
control IDrawnBase

Returns

bool

TransformReportedValue(long)

/// Passed over mValue, you can change the reported passed value here

protected override double TransformReportedValue(long deltaT)

Parameters

deltaT long

Returns

double

modified mValue for callback consumer