Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class DecorationMetrics(val underlinePosition: Double, val underlineThickness: Double, val strikeoutPosition: Double, val strikeoutThickness: Double, val underlineFromFont: Boolean, val strikeoutFromFont: Boolean)
The positions and thicknesses of the lines that decorate text: underlines and strikeouts (line-through), in pixels like Face.ascent. Positions are those of the centers of the lines, positive above the baseline, so underlines usually have a negative position. Overlines have no metrics in fonts, they are usually drawn at Face.ascent.
Link copied to clipboard
A face (font) representation
Link copied to clipboard
data class FaceMaster(val axes: MutableMap<String, Double>, val ranges: Map<String, ClosedFloatingPointRange<Double>>) : MutableMap<String, Double>
Represents the master configuration for a font face, allowing manipulation of axis values within specified ranges for variable font adjustments.