Class MacOSDrawingContext
public class MacOSDrawingContext : IContext, IMeasureContext, IStateContext, IPenContext, IPathDrawingContext, IPathBuilder, IGlyphPathBuilder, IPathDrawing, IPathClipping, IRectDrawingContext, ITextDrawingContext, ITextMeasureContext, IImageDrawingContext, ITransformContext, IDisposable
- Inheritance
-
MacOSDrawingContext
- Implements
- Inherited Members
- Extension Methods
Constructors
MacOSDrawingContext()
public MacOSDrawingContext()
Properties
LineDashOffset
Sets the phase offset for the start of the dash pattern.
public NFloat LineDashOffset { get; set; }
Property Value
TextAlign
Sets the horizontal alignment of the text relative to the given position.
public TextAlign TextAlign { get; set; }
Property Value
TextBaseline
Sets the vertical alignment of the text relative to the given baseline.
public TextBaseline TextBaseline { get; set; }
Property Value
Methods
Bind()
public MacOSDrawingContext Bind()
Returns
Dispose()
public void Dispose()
SetLineDash(ReadOnlySpan<NFloat>)
public void SetLineDash(ReadOnlySpan<NFloat> segments)
Parameters
segmentsReadOnlySpan<NFloat>