MinecraftTrueTypeSettings

data class MinecraftTrueTypeSettings(val size: Float = 11.0f, val oversample: Float = 1.0f, val shiftX: Float = 0.0f, val shiftY: Float = 0.0f)(source)

Immutable TrueType provider settings passed to a CPU backend. Signed sizes and oversampling, including either signed zero, preserve the selected native provider's numeric behavior. A backend may reject a native operation that cannot be executed safely, but these values do not make a font document malformed.

Throws

when any setting is non-finite.

Constructors

Link copied to clipboard
constructor(size: Float = 11.0f, oversample: Float = 1.0f, shiftX: Float = 0.0f, shiftY: Float = 0.0f)

Properties

Link copied to clipboard

source-pixel oversampling factor.

Link copied to clipboard

configured horizontal shift.

Link copied to clipboard

configured vertical shift.

Link copied to clipboard
val size: Float

logical provider font size.