SceneShape Class

An element that is filled or stroked.

public abstract class SceneShape : SceneElement
Inheritance
SceneElement SceneShape

Properties

NameDescription
FillGets or sets how the interior is painted, or null to leave it empty.
LineCapGets or sets the shape of the ends of open outlines.
LineJoinGets or sets the shape of the corners of outlines.
StrokeGets or sets how the outline is painted, or null for no outline.
StrokeDashArrayGets or sets the lengths of the dashes and gaps of the outline, or null for a solid outline.
StrokeWidthGets or sets the width of the outline.

Gets or sets how the interior is painted, or null to leave it empty.

public ScenePaint? Fill { get; set; }

Property value

ScenePaint?

Gets or sets the shape of the ends of open outlines.

public SceneLineCap LineCap { get; set; }

Property value

SceneLineCap

Gets or sets the shape of the corners of outlines.

public SceneLineJoin LineJoin { get; set; }

Property value

SceneLineJoin

Gets or sets how the outline is painted, or null for no outline.

public ScenePaint? Stroke { get; set; }

Property value

ScenePaint?

StrokeDashArray

SceneShape.cs

Gets or sets the lengths of the dashes and gaps of the outline, or null for a solid outline.

public IReadOnlyList<double>? StrokeDashArray { get; set; }

StrokeWidth

SceneShape.cs

Gets or sets the width of the outline.

public double StrokeWidth { get; set; }

Property value

double