Represents a 2D vector with X and Y components as floating-point values. Used to specify positions, sizes, and other 2D measurements in PDF coordinate space.
using Nutrient;
public record struct Vec2f(float X, float Y);Fields
| Name | Type | Description |
|---|---|---|
X | float | The X component in points. |
Y | float | The Y component in points. |