toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.text
/
BoundBuilderTextRendererActions
Bound
Builder
Text
Renderer
Actions
class
BoundBuilderTextRendererActions
:
TextRendererActions
Members
Members & Extensions
Constructors
Bound
Builder
Text
Renderer
Actions
Link copied to clipboard
constructor
(
)
Types
Line
Stats
Link copied to clipboard
data
class
LineStats
(
var
maxLineHeight
:
Double
=
0.0
,
var
maxX
:
Double
=
0.0
,
var
bounds
:
BoundsBuilder
=
BoundsBuilder()
)
Properties
bb
Link copied to clipboard
var
bb
:
BoundsBuilder
current
Link copied to clipboard
var
current
:
BoundBuilderTextRendererActions.LineStats
current
Line
Link copied to clipboard
var
currentLine
:
Int
current
Line
Num
Link copied to clipboard
open
override
var
currentLineNum
:
Int
flbb
Link copied to clipboard
var
flbb
:
BoundsBuilder
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
lines
Link copied to clipboard
val
lines
:
ArrayList
<
BoundBuilderTextRendererActions.LineStats
>
nlines
Link copied to clipboard
val
nlines
:
Int
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
total
Max
Line
Height
Link copied to clipboard
val
totalMaxLineHeight
:
Double
transform
Link copied to clipboard
open
override
var
transform
:
Matrix
Functions
advance
Link copied to clipboard
open
override
fun
advance
(
x
:
Double
)
around
Path
Link copied to clipboard
fun
ITextRendererActions
.
aroundPath
(
curve
:
Curve
)
:
ITextRendererActions
get
Align
X
Link copied to clipboard
fun
getAlignX
(
align
:
HorizontalAlign
,
line
:
Int
)
:
Double
get
Align
Y
Link copied to clipboard
fun
getAlignY
(
align
:
VerticalAlign
,
fontMetrics
:
FontMetrics
)
:
Double
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
override
fun
newLine
(
y
:
Double
,
end
:
Boolean
)
put
Link copied to clipboard
open
override
fun
put
(
reader
:
WStringReader
,
codePoint
:
Int
)
:
GlyphMetrics
reset
Link copied to clipboard
open
override
fun
reset
(
)
set
Font
Link copied to clipboard
open
override
fun
setFont
(
font
:
Font
,
size
:
Double
)