Table of Contents

Class ShimmerAnimator

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

Constructors

ShimmerAnimator(IDrawnBase)

public ShimmerAnimator(IDrawnBase control)

Parameters

control IDrawnBase

Fields

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

ShimmerAngle

public double ShimmerAngle { get; set; }

Property Value

double

ShimmerWidth

public double ShimmerWidth { 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