openrndr
Toggle table of contents
0.4.5-dev.17.uncommitted+81afe70
jvm
Platform filter
jvm
Switch theme
Search in API
openrndr
openrndr-gl3
/
org.openrndr.draw.font
/
FaceStbTt
Face
Stb
Tt
class
FaceStbTt
(
data
:
ByteBuffer
,
fontInfo
:
STBTTFontinfo
)
:
Face
(
source
)
Members
Constructors
Face
Stb
Tt
Link copied to clipboard
constructor
(
data
:
ByteBuffer
,
fontInfo
:
STBTTFontinfo
)
Types
State
Link copied to clipboard
class
State
(
val
data
:
ByteBuffer
,
val
fontInfo
:
STBTTFontinfo
)
Properties
font
Info
Link copied to clipboard
val
fontInfo
:
STBTTFontinfo
Functions
ascent
Link copied to clipboard
open
fun
ascent
(
scale
:
Double
)
:
Double
ascent
Metrics
Link copied to clipboard
open
override
fun
ascentMetrics
(
)
:
Int
bounds
Link copied to clipboard
open
override
fun
bounds
(
scale
:
Double
)
:
Rectangle
close
Link copied to clipboard
open
override
fun
close
(
)
descent
Link copied to clipboard
open
fun
descent
(
scale
:
Double
)
:
Double
descent
Metrics
Link copied to clipboard
open
override
fun
descentMetrics
(
)
:
Int
glyph
For
Character
Link copied to clipboard
open
override
fun
glyphForCharacter
(
character
:
Char
)
:
Glyph
kern
Advance
Link copied to clipboard
open
override
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
open
override
fun
lineGapMetrics
(
)
:
Int
line
Space
Link copied to clipboard
open
fun
lineSpace
(
scale
:
Double
)
:
Double
units
Per
Em
Link copied to clipboard
open
override
fun
unitsPerEm
(
)
:
Int