Class SkiaEditorSelection
public class SkiaEditorSelection : SkiaControl, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IVisualElementController, IElementController, IView, ITransform, IElement, IVisualTreeElement, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISkiaGestureListener, IHasAfterEffects, ISkiaControl, IDrawnBase, ICanBeUpdatedWithContext, ICanBeUpdated, ISkiaDisposable, IDisposable
- Inheritance
-
SkiaEditorSelection
- Implements
- Inherited Members
- Extension Methods
Properties
GetLineGlyphsOverride
When set, used instead of Spans[0].Glyphs to support multi-span lines.
public Func<TextLine, LineGlyph[]>? GetLineGlyphsOverride { get; set; }
Property Value
LeftHandleCenter
public SKPoint LeftHandleCenter { get; }
Property Value
RightHandleCenter
public SKPoint RightHandleCenter { get; }
Property Value
SelectionColor
public Color SelectionColor { get; set; }
Property Value
SelectionLength
public int SelectionLength { get; set; }
Property Value
SelectionStart
public int SelectionStart { get; set; }
Property Value
SourceLabel
public SkiaLabel SourceLabel { get; set; }
Property Value
Methods
OnDisposing()
Base performs some cleanup actions with Superview
public override void OnDisposing()
Paint(DrawingContext)
This is the main drawing routine you should override to draw something. Base one paints background color inside DrawingRect that was defined by Arrange inside base.Draw. Pass arguments if you want to use some time-frozen data for painting at any time from any thread..
protected override void Paint(DrawingContext ctx)
Parameters
ctxDrawingContext