Struct BezierSegment
A bezier segment.
Namespace: Unity.VectorGraphics
Syntax
public struct BezierSegmentRemarks
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 P0Field Value
| Type | Description | 
|---|---|
| Vector2 | 
P1
First control point of the segment.
Declaration
public Vector2 P1Field Value
| Type | Description | 
|---|---|
| Vector2 | 
P2
Second control point of the segment.
Declaration
public Vector2 P2Field Value
| Type | Description | 
|---|---|
| Vector2 | 
P3
Ending point of the segment.
Declaration
public Vector2 P3Field Value
| Type | Description | 
|---|---|
| Vector2 |