Table of Contents

Class SkiaCursor

Namespace
DrawnUi.Draw
Assembly
DrawnUi.Maui.dll
public class SkiaCursor : SkiaShape, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IVisualElementController, IElementController, IView, ITransform, IElement, IVisualTreeElement, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISkiaGestureListener, IHasAfterEffects, ISkiaDisposable, ISkiaGridLayout, ISkiaLayout, ISkiaControl, IDrawnBase, ICanBeUpdatedWithContext, ICanBeUpdated, ILayoutInsideViewport, IInsideViewport, IVisibilityAware, IDisposable
Inheritance
SkiaCursor
Implements
Inherited Members
Extension Methods

Fields

BlinkAlpha

public static float BlinkAlpha

Field Value

float

ColorProperty

public static readonly BindableProperty ColorProperty

Field Value

BindableProperty

Properties

Color

public Color Color { get; set; }

Property Value

Color

Methods

Initialize(SkiaLabel)

Called by SkiaEditor after creating the cursor. Parent chain is not yet complete at AddSubView time.

public void Initialize(SkiaLabel label)

Parameters

label SkiaLabel

Invalidate()

Base calls InvalidateInternal and InvalidateParent

public override void Invalidate()

OnDisposing()

Base performs some cleanup actions with Superview

public override void OnDisposing()

OnVisibilityChanged(bool)

todo override for templated skialayout to use ViewsProvider

public override void OnVisibilityChanged(bool newvalue)

Parameters

newvalue bool

UpdateColors()

protected void UpdateColors()