API ReferenceSandbox.Utility.Svg

SvgPathclass

A shape in a `Sandbox.Utility.Svg.SvgDocument`, described as a vector path.

objectSvgPath
Namespace
Sandbox.Utility.Svg
Assembly
Sandbox.Engine
Declaration
public class Sandbox.Utility.Svg.SvgPath

Properties6

Showing 6 properties

public Sandbox.Rect Sandbox.Utility.Svg.SvgPath.Bounds { get; set; }PUBLICGETSET

Enclosing bounding box for this path.

Returns:Rect

public System.Collections.Generic.IReadOnlyList`1<Sandbox.Utility.Svg.PathCommand> Sandbox.Utility.Svg.SvgPath.Commands { get; set; }PUBLICGETSET

Description of how the path is constructed out of basic elements.

Returns:IReadOnlyList<PathCommand>

public System.Nullable`1<Color> Sandbox.Utility.Svg.SvgPath.FillColor { get; set; }PUBLICGETSET

Optional fill color for this path.

Returns:Nullable<Color>

public Sandbox.Utility.Svg.PathFillType Sandbox.Utility.Svg.SvgPath.FillType { get; set; }PUBLICGETSET

How to determine which sections of the path are filled.

Returns:PathFillType

public bool Sandbox.Utility.Svg.SvgPath.IsEmpty { get; set; }PUBLICGETSET

If true, this path has no commands.

Returns:bool

public System.Nullable`1<Color> Sandbox.Utility.Svg.SvgPath.StrokeColor { get; set; }PUBLICGETSET

Optional outline color for this path.

Returns:Nullable<Color>

On this page