SceneShape Class
An element that is filled or stroked.
public abstract class SceneShape : SceneElement- Inheritance
SceneElementSceneShape
Properties
| Name | Description |
|---|---|
| Fill | Gets or sets how the interior is painted, or null to leave it empty. |
| LineCap | Gets or sets the shape of the ends of open outlines. |
| LineJoin | Gets or sets the shape of the corners of outlines. |
| Stroke | Gets or sets how the outline is painted, or null for no outline. |
| StrokeDashArray | Gets or sets the lengths of the dashes and gaps of the outline, or null for a solid outline. |
| StrokeWidth | Gets or sets the width of the outline. |
Fill
SceneShape.csGets or sets how the interior is painted, or null to leave it empty.
public ScenePaint? Fill { get; set; }Property value
LineCap
SceneShape.csGets or sets the shape of the ends of open outlines.
public SceneLineCap LineCap { get; set; }Property value
LineJoin
SceneShape.csGets or sets the shape of the corners of outlines.
public SceneLineJoin LineJoin { get; set; }Property value
Stroke
SceneShape.csGets or sets how the outline is painted, or null for no outline.
public ScenePaint? Stroke { get; set; }Property value
StrokeDashArray
SceneShape.csGets or sets the lengths of the dashes and gaps of the outline, or null for a solid outline.
public IReadOnlyList<double>? StrokeDashArray { get; set; }