Table of Contents

Class SkiaWheelShape

Namespace
DrawnUi.Controls
Assembly
DrawnUi.Maui.dll

Custom SkiaShape that positions children in a circular arrangement around the wheel circumference. Handles rotation and positioning calculations for the spinner wheel.

public class SkiaWheelShape : 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
SkiaWheelShape
Implements
Inherited Members
Extension Methods

Constructors

SkiaWheelShape()

public SkiaWheelShape()

Fields

InverseVisualRotationProperty

public static readonly BindableProperty InverseVisualRotationProperty

Field Value

BindableProperty

WheelRotationProperty

public static readonly BindableProperty WheelRotationProperty

Field Value

BindableProperty

Properties

InverseVisualRotation

Controls the visual orientation direction. False = normal, True = inverted

public bool InverseVisualRotation { get; set; }

Property Value

bool

WheelRotation

Gets or sets the current rotation of the wheel in degrees

public double WheelRotation { get; set; }

Property Value

double

Methods

RenderViewsList(DrawingContext, IEnumerable<SkiaControl>)

Renders children positioned around the wheel circumference with proper rotation

protected override int RenderViewsList(DrawingContext context, IEnumerable<SkiaControl> skiaControls)

Parameters

context DrawingContext

Drawing context

skiaControls IEnumerable<SkiaControl>

Collection of controls to render

Returns

int

Number of rendered items

RenderViewsListBak(DrawingContext, IEnumerable<SkiaControl>)

Renders children positioned around the wheel circumference with proper rotation

protected int RenderViewsListBak(DrawingContext context, IEnumerable<SkiaControl> skiaControls)

Parameters

context DrawingContext

Drawing context

skiaControls IEnumerable<SkiaControl>

Collection of controls to render

Returns

int

Number of rendered items