vec2f

public final class vec2f

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.

Constructors

Link copied to clipboard
public void vec2f(float x, float y)
Constructs a new vec2f with the specified values.

Properties

Link copied to clipboard
public final float x
Link copied to clipboard
public final float y

Functions

Link copied to clipboard
public boolean equals(Object obj)
Link copied to clipboard
public float getX()
Gets the x value.
Link copied to clipboard
public float getY()
Gets the y value.
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public String toString()