API ReferenceSandbox.Utility.Svg
SvgPathclass
A shape in a `Sandbox.Utility.Svg.SvgDocument`, described as a vector path.
object→SvgPath
Properties6
Showing 6 properties
public Sandbox.Rect Sandbox.Utility.Svg.SvgPath.Bounds { get; set; }
Enclosing bounding box for this path.
public System.Collections.Generic.IReadOnlyList`1<Sandbox.Utility.Svg.PathCommand> Sandbox.Utility.Svg.SvgPath.Commands { get; set; }
Description of how the path is constructed out of basic elements.
public System.Nullable`1<Color> Sandbox.Utility.Svg.SvgPath.FillColor { get; set; }
Optional fill color for this path.
public Sandbox.Utility.Svg.PathFillType Sandbox.Utility.Svg.SvgPath.FillType { get; set; }
How to determine which sections of the path are filled.
public bool Sandbox.Utility.Svg.SvgPath.IsEmpty { get; set; }
If true, this path has no commands.
Returns:
bool—No results match this filter.