Struct BezierContour
A chain of bezier paths, optionnally closed.
Inherited Members
Namespace: Unity.VectorGraphics
Assembly: Unity.VectorGraphics.dll
Syntax
public struct BezierContour
Properties
Closed
A boolean indicating if the contour should be closed.
Declaration
public bool Closed { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
When set to true, closed path will connect the last path segment to the first path segment, by using the last path segment's P1 and P2 as control points.
Segments
An array of every path segments on the contour.
Declaration
public BezierPathSegment[] Segments { readonly get; set; }
Property Value
Type | Description |
---|---|
BezierPathSegment[] |
Remarks
Closed paths should not add a dedicated closing segment. It is implied by the 'closed' property.