openrndr
0.4.5-dev.9+28d315c
common
openrndr-draw
/
org.openrndr.draw.font
/
Face
Face
interface
Face
:
AutoCloseable
(
source
)
A face (font) representation
Members
Functions
ascent
Link copied to clipboard
open
fun
ascent
(
scale
:
Double
)
:
Double
ascent
Metrics
Link copied to clipboard
abstract
fun
ascentMetrics
(
)
:
Int
bounds
Link copied to clipboard
abstract
fun
bounds
(
scale
:
Double
)
:
Rectangle
close
Link copied to clipboard
expect
abstract
fun
close
(
)
descent
Link copied to clipboard
open
fun
descent
(
scale
:
Double
)
:
Double
descent
Metrics
Link copied to clipboard
abstract
fun
descentMetrics
(
)
:
Int
glyph
For
Character
Link copied to clipboard
abstract
fun
glyphForCharacter
(
character
:
Char
)
:
Glyph
Return the glyph for a given character
kern
Advance
Link copied to clipboard
abstract
fun
kernAdvance
(
scale
:
Double
,
left
:
Char
,
right
:
Char
)
:
Double
line
Gap
Link copied to clipboard
open
fun
lineGap
(
scale
:
Double
)
:
Double
line
Gap
Metrics
Link copied to clipboard
abstract
fun
lineGapMetrics
(
)
:
Int
line
Space
Link copied to clipboard
open
fun
lineSpace
(
scale
:
Double
)
:
Double
units
Per
Em
Link copied to clipboard
abstract
fun
unitsPerEm
(
)
:
Int