Table of Contents

Class SkiaHotspotZoom

Namespace
DrawnUi.Draw
Assembly
DrawnUi.Maui.dll
public class SkiaHotspotZoom : SkiaHotspot, 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
SkiaHotspotZoom
Implements
Inherited Members
Extension Methods

Fields

CommandZoomedProperty

public static readonly BindableProperty CommandZoomedProperty

Field Value

BindableProperty

LastValue

Last ViewportZoom value we are animating from

protected double LastValue

Field Value

double

Value

protected double Value

Field Value

double

ViewportZoomProperty

public static readonly BindableProperty ViewportZoomProperty

Field Value

BindableProperty

ZoomLockedProperty

public static readonly BindableProperty ZoomLockedProperty

Field Value

BindableProperty

ZoomMaxProperty

public static readonly BindableProperty ZoomMaxProperty

Field Value

BindableProperty

ZoomMinProperty

public static readonly BindableProperty ZoomMinProperty

Field Value

BindableProperty

ZoomSpeedProperty

public static readonly BindableProperty ZoomSpeedProperty

Field Value

BindableProperty

Properties

CommandZoomed

public ICommand CommandZoomed { get; set; }

Property Value

ICommand

ViewportZoom

public double ViewportZoom { get; set; }

Property Value

double

ZoomLocked

public bool ZoomLocked { get; set; }

Property Value

bool

ZoomMax

public double ZoomMax { get; set; }

Property Value

double

ZoomMin

public double ZoomMin { get; set; }

Property Value

double

ZoomSpeed

How much of finger movement will afect zoom change

public double ZoomSpeed { get; set; }

Property Value

double

Methods

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

ReportZoom()

public virtual void ReportZoom()

Reset()

public virtual void Reset()

SetZoom(double, bool)

public void SetZoom(double zoom, bool animate)

Parameters

zoom double
animate bool

Events

Zoomed

public event EventHandler<ZoomEventArgs> Zoomed

Event Type

EventHandler<ZoomEventArgs>