Struct BezierSegment
A bezier segment.
Inherited Members
Namespace: Unity.VectorGraphics
Assembly: Unity.VectorGraphics.dll
Syntax
public struct BezierSegment
Remarks
Cubic Bezier segment starts from P0, flies in tangent to direction from P0 to P1, then lands in direction from P2 to P3, to finally end exactly at P3.
Fields
P0
Origin point of the segment.
Declaration
public Vector2 P0
Field Value
Type | Description |
---|---|
Vector2 |
P1
First control point of the segment.
Declaration
public Vector2 P1
Field Value
Type | Description |
---|---|
Vector2 |
P2
Second control point of the segment.
Declaration
public Vector2 P2
Field Value
Type | Description |
---|---|
Vector2 |
P3
Ending point of the segment.
Declaration
public Vector2 P3
Field Value
Type | Description |
---|---|
Vector2 |