ContextPaint Class

The paint of the shape a marker is drawn on, as the SVG 2 context-fill and context-stroke values: an arrowhead of the color of the line it ends.

public sealed class ContextPaint : ScenePaint

Remarks

In the content of a SceneMarker, ContextPaint.Fill paints with the fill of the path or the line the marker is drawn on, and ContextPaint.Stroke with its stroke: one marker serves lines of every color. Elsewhere (outside of the markers, or in the content of a pattern), it paints nothing.

Inheritance
ScenePaint ContextPaint

Properties

NameDescription
FillGets the paint of the fill of the shape the marker is drawn on (context-fill).
IsStrokeGets a value that indicates whether the paint is the stroke of the shape, rather than its fill.
StrokeGets the paint of the stroke of the shape the marker is drawn on (context-stroke).

Gets the paint of the fill of the shape the marker is drawn on (context-fill).

public static ContextPaint Fill { get; }

Property value

ContextPaint

Gets a value that indicates whether the paint is the stroke of the shape, rather than its fill.

public bool IsStroke { get; }

Property value

bool

Gets the paint of the stroke of the shape the marker is drawn on (context-stroke).

public static ContextPaint Stroke { get; }

Property value

ContextPaint