TextToken

constructor(token: String, x: Double, y: Double, width: Double, tracking: Double)(source)

Creates a new instance of a TextToken.

Parameters

token

The text content of the token.

x

The horizontal position of the token.

y

The vertical position of the token.

width

The width of the token.

tracking

The tracking (letter spacing) applied to the token.