Class Shape
A generic filled shape.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.VectorGraphics
Syntax
public class Shape : Filled, IDrawable
Properties
Contours
All the contours defining the shape.
Declaration
public BezierContour[] Contours { get; set; }
Property Value
Type | Description |
---|---|
BezierContour[] |
Remarks
Some of these coutours may be holes in the shape, depending on the fill mode used FillMode.
IsConvex
Whether the specified contours are convex or not
Declaration
public bool IsConvex { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Set this to true when you know the shape contours are convex. This will allow for a faster tessellation process in some circumstances.