Class SkiaWheelShape
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
WheelRotationProperty
public static readonly BindableProperty WheelRotationProperty
Field Value
Properties
InverseVisualRotation
Controls the visual orientation direction. False = normal, True = inverted
public bool InverseVisualRotation { get; set; }
Property Value
WheelRotation
Gets or sets the current rotation of the wheel in degrees
public double WheelRotation { get; set; }
Property Value
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
contextDrawingContextDrawing context
skiaControlsIEnumerable<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
contextDrawingContextDrawing context
skiaControlsIEnumerable<SkiaControl>Collection of controls to render
Returns
- int
Number of rendered items