LineMetrics

org.nspl.Font$.LineMetrics
case class LineMetrics(ascent: Double, descent: Double, leading: Double)

Holds line metrics data

For the meaning of the members see https://docs.oracle.com/javase/tutorial/2d/text/fontconcepts.html

Ascent is the distance from the baseline to the typical highest point of the letter (ascender line). Descent is the distance from the baseline to the typical lowest point of the letter (descender line). Leading is the gap between lines, i.e. distance from the descender line to the next line's ascender line.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product