toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.text
/
TextRendererActions
Text
Renderer
Actions
abstract
class
TextRendererActions
:
ITextRendererActions
Inheritors
BoundBuilderTextRendererActions
Text2TextRendererActions
Members
Members & Extensions
Constructors
Text
Renderer
Actions
Link copied to clipboard
constructor
(
)
Properties
current
Line
Num
Link copied to clipboard
open
override
var
currentLineNum
:
Int
font
Link copied to clipboard
lateinit
var
font
:
Font
font
Metrics
Link copied to clipboard
val
fontMetrics
:
FontMetrics
font
Size
Link copied to clipboard
var
fontSize
:
Double
line
Height
Link copied to clipboard
open
override
val
lineHeight
:
Double
paint
Link copied to clipboard
var
paint
:
Paint
?
pos
Link copied to clipboard
open
override
var
pos
:
Vector2D
tint
Link copied to clipboard
var
tint
:
RGBA
transform
Link copied to clipboard
open
override
var
transform
:
Matrix
Functions
advance
Link copied to clipboard
open
fun
advance
(
x
:
Double
)
around
Path
Link copied to clipboard
fun
ITextRendererActions
.
aroundPath
(
curve
:
Curve
)
:
ITextRendererActions
get
Glyph
Metrics
Link copied to clipboard
open
override
fun
getGlyphMetrics
(
reader
:
WStringReader
?
,
codePoint
:
Int
)
:
GlyphMetrics
get
Kerning
Link copied to clipboard
open
override
fun
getKerning
(
leftCodePoint
:
Int
,
rightCodePoint
:
Int
)
:
Double
new
Line
Link copied to clipboard
open
fun
newLine
(
y
:
Double
,
end
:
Boolean
)
put
Link copied to clipboard
abstract
override
fun
put
(
reader
:
WStringReader
,
codePoint
:
Int
)
:
GlyphMetrics
reset
Link copied to clipboard
open
fun
reset
(
)
set
Font
Link copied to clipboard
open
override
fun
setFont
(
font
:
Font
,
size
:
Double
)