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 : ScenePaintRemarks
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
ScenePaintContextPaint
Properties
| Name | Description |
|---|---|
| Fill | Gets the paint of the fill of the shape the marker is drawn on (context-fill). |
| IsStroke | Gets a value that indicates whether the paint is the stroke of the shape, rather than its fill. |
| Stroke | Gets the paint of the stroke of the shape the marker is drawn on (context-stroke). |
Fill
ContextPaint.csGets the paint of the fill of the shape the marker is drawn on (context-fill).
public static ContextPaint Fill { get; }Property value
IsStroke
ContextPaint.csStroke
ContextPaint.csGets the paint of the stroke of the shape the marker is drawn on (context-stroke).
public static ContextPaint Stroke { get; }