withSize

abstract fun withSize(sizeInPoints: Double): Face(source)

Creates a new instance of the font face at the given size.

The returned face shares the font data with this face.

Return

a new Face instance at the given size

Parameters

sizeInPoints

the size of the face in points