Table of Contents

Class SkiaHotspot

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

Constructors

SkiaHotspot()

public SkiaHotspot()

Fields

CommandLongPressingParameterProperty

public static readonly BindableProperty CommandLongPressingParameterProperty

Field Value

BindableProperty

CommandLongPressingProperty

public static readonly BindableProperty CommandLongPressingProperty

Field Value

BindableProperty

CommandTappedParameterProperty

public static readonly BindableProperty CommandTappedParameterProperty

Field Value

BindableProperty

CommandTappedProperty

public static readonly BindableProperty CommandTappedProperty

Field Value

BindableProperty

DelayCallbackMs

You might want to pause to show effect before executing command. Default is 0.

public static int DelayCallbackMs

Field Value

int

LockPanningProperty

public static readonly BindableProperty LockPanningProperty

Field Value

BindableProperty

PanThreshold

public static float PanThreshold

Field Value

float

ShimmerEffectAngleProperty

public static readonly BindableProperty ShimmerEffectAngleProperty

Field Value

BindableProperty

ShimmerEffectColorProperty

public static readonly BindableProperty ShimmerEffectColorProperty

Field Value

BindableProperty

ShimmerEffectSpeedProperty

public static readonly BindableProperty ShimmerEffectSpeedProperty

Field Value

BindableProperty

ShimmerEffectWidthProperty

public static readonly BindableProperty ShimmerEffectWidthProperty

Field Value

BindableProperty

Properties

CommandLongPressing

public ICommand CommandLongPressing { get; set; }

Property Value

ICommand

CommandLongPressingParameter

public object CommandLongPressingParameter { get; set; }

Property Value

object

CommandTapped

public ICommand CommandTapped { get; set; }

Property Value

ICommand

CommandTappedParameter

public object CommandTappedParameter { get; set; }

Property Value

object

LockPanning

public bool LockPanning { get; set; }

Property Value

bool

ShimmerEffectAngle

public float ShimmerEffectAngle { get; set; }

Property Value

float

ShimmerEffectColor

public Color ShimmerEffectColor { get; set; }

Property Value

Color

ShimmerEffectSpeed

public int ShimmerEffectSpeed { get; set; }

Property Value

int

ShimmerEffectWidth

public float ShimmerEffectWidth { get; set; }

Property Value

float

TotalDown

public long TotalDown { get; set; }

Property Value

long

TotalTapped

public long TotalTapped { get; set; }

Property Value

long

TouchDown

public bool TouchDown { get; set; }

Property Value

bool

Methods

Draw(DrawingContext)

protected override void Draw(DrawingContext context)

Parameters

context DrawingContext

OnFocusChanged(bool)

This will be called only for views registered at Superview.FocusedChild. The view must return true of false to indicate if it accepts focus.

public virtual bool OnFocusChanged(bool focus)

Parameters

focus bool

Returns

bool

OnWillDisposeWithChildren()

The OnDisposing might come with a delay to avoid disposing resources at use. This method will be called without delay when Dispose() is invoked. Disposed will set to True and for Views their OnWillDisposeWithChildren will be called.

public override void OnWillDisposeWithChildren()

ProcessGestures(SkiaGesturesParameters, GestureEventProcessingInfo)

public override ISkiaGestureListener ProcessGestures(SkiaGesturesParameters args, GestureEventProcessingInfo apply)

Parameters

args SkiaGesturesParameters
apply GestureEventProcessingInfo

Returns

ISkiaGestureListener

Events

Down

public event EventHandler<SkiaGesturesParameters> Down

Event Type

EventHandler<SkiaGesturesParameters>

Up

public event EventHandler<SkiaGesturesParameters> Up

Event Type

EventHandler<SkiaGesturesParameters>