# BezierSegment

> A bezier segment.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.VectorGraphics](/engine/6000.5/script-reference/unity/vectorgraphics.md)
* **Assembly:** UnityEngine.VectorGraphicsModule

```csharp
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`.

For more information, refer to work with vector graphics.

## Fields

| Value                                                                          | Description                          |
| ------------------------------------------------------------------------------ | ------------------------------------ |
| [P0](/engine/6000.5/script-reference/unity/vectorgraphics/beziersegment/p0.md) | Origin point of the segment.         |
| [P1](/engine/6000.5/script-reference/unity/vectorgraphics/beziersegment/p1.md) | First control point of the segment.  |
| [P2](/engine/6000.5/script-reference/unity/vectorgraphics/beziersegment/p2.md) | Second control point of the segment. |
| [P3](/engine/6000.5/script-reference/unity/vectorgraphics/beziersegment/p3.md) | Ending point of the segment.         |
