Search
Preparing search index...
The search index is not available
@akashic/akashic-engine
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"lib/main.d"
g
MultiLineLabel
Class MultiLineLabel
Hierarchy
CacheableE
MultiLineLabel
Implements
CommonArea
CommonArea
Destroyable
Index
Constructors
constructor
Properties
_before
Bitmap
Font
_before
Font
Size
_before
Line
Break
_before
Text
_before
Text
Align
_before
Width
_cache
_cache
Size
_has
Touchable
Children
_matrix
_rendered
Camera
_renderer
_should
Render
Children
_target
Cameras
angle
bitmap
Font
children
composite
Operation
font
Size
height
id
line
Break
line
Gap
local
message
opacity
parent
point
Down
point
Move
point
Up
scaleX
scaleY
scene
state
tag
target
Cameras
text
text
Align
text
Color
touchable
update
width
x
y
PADDING
Methods
_calculate
Bounding
Rect
_disable
Touch
Propagation
_enable
Touch
Propagation
_is
Target
Operation
_line
Broken
Text
_offsetX
_update
Matrix
append
calculate
Bounding
Rect
calculate
Cache
Size
destroy
destroyed
find
Point
Source
ByPoint
game
get
Matrix
hide
insert
Before
invalidate
modified
move
By
move
To
remove
render
render
Cache
render
Self
render
Self
From
Cache
resize
By
resize
To
scale
should
Find
Children
ByPoint
show
visible
Constructors
constructor
new
Multi
Line
Label
(
scene
:
Scene
, text
:
string
, font
:
BitmapFont
, fontSize
:
number
, width
:
number
, lineBreak
?:
boolean
)
:
MultiLineLabel
new
Multi
Line
Label
(
param
:
MultiLineLabelParameterObject
)
:
MultiLineLabel
Parameters
scene:
Scene
text:
string
font:
BitmapFont
fontSize:
number
width:
number
Optional
lineBreak:
boolean
Returns
MultiLineLabel
Parameters
param:
MultiLineLabelParameterObject
Returns
MultiLineLabel
Properties
Private
_before
Bitmap
Font
_before
Bitmap
Font
:
BitmapFont
Private
_before
Font
Size
_before
Font
Size
:
number
Private
_before
Line
Break
_before
Line
Break
:
boolean
Private
_before
Text
_before
Text
:
string
Private
_before
Text
Align
_before
Text
Align
:
TextAlign
Private
_before
Width
_before
Width
:
number
Private
_cache
_cache
:
Surface
Private
_cache
Size
_cache
Size
:
CommonSize
Private
_has
Touchable
Children
_has
Touchable
Children
:
boolean
Private
_matrix
_matrix
:
Matrix
Private
_rendered
Camera
_rendered
Camera
:
Camera
Private
_renderer
_renderer
:
Renderer
Private
_should
Render
Children
_should
Render
Children
:
boolean
Private
_target
Cameras
_target
Cameras
:
Camera
[]
angle
angle
:
number
bitmap
Font
bitmap
Font
:
BitmapFont
children
children
:
E
[]
composite
Operation
composite
Operation
:
CompositeOperation
font
Size
font
Size
:
number
height
height
:
number
id
id
:
number
line
Break
line
Break
:
boolean
line
Gap
line
Gap
:
number
local
local
:
boolean
message
message
:
Trigger
<
MessageEvent
>
opacity
opacity
:
number
parent
parent
:
E
|
Scene
point
Down
point
Down
:
Trigger
<
PointDownEvent
>
point
Move
point
Move
:
Trigger
<
PointMoveEvent
>
point
Up
point
Up
:
Trigger
<
PointUpEvent
>
scaleX
scaleX
:
number
scaleY
scaleY
:
number
scene
scene
:
Scene
state
state
:
EntityStateFlags
tag
tag
:
any
target
Cameras
target
Cameras
:
Camera
[]
text
text
:
string
text
Align
text
Align
:
TextAlign
text
Color
text
Color
:
string
touchable
touchable
:
boolean
update
update
:
Trigger
<
void
>
width
width
:
number
x
x
:
number
y
y
:
number
Static
Private
PADDING
PADDING
:
number
Methods
Private
_calculate
Bounding
Rect
_calculate
Bounding
Rect
(
m
?:
Matrix
, c
?:
Camera
)
:
CommonRect
Parameters
Optional
m:
Matrix
Optional
c:
Camera
Returns
CommonRect
Private
_disable
Touch
Propagation
_disable
Touch
Propagation
(
)
:
void
Returns
void
Private
_enable
Touch
Propagation
_enable
Touch
Propagation
(
)
:
void
Returns
void
Private
_is
Target
Operation
_is
Target
Operation
(
e
:
PointEvent
)
:
boolean
Parameters
e:
PointEvent
Returns
boolean
Private
_line
Broken
Text
_line
Broken
Text
(
)
:
string
[]
Returns
string
[]
Private
_offsetX
_offsetX
(
width
:
number
)
:
number
Parameters
width:
number
Returns
number
Private
_update
Matrix
_update
Matrix
(
)
:
void
Returns
void
append
append
(
e
:
E
)
:
void
Parameters
e:
E
Returns
void
calculate
Bounding
Rect
calculate
Bounding
Rect
(
c
?:
Camera
)
:
CommonRect
Parameters
Optional
c:
Camera
Returns
CommonRect
calculate
Cache
Size
calculate
Cache
Size
(
)
:
CommonSize
Returns
CommonSize
destroy
destroy
(
)
:
void
Returns
void
destroyed
destroyed
(
)
:
boolean
Returns
boolean
find
Point
Source
ByPoint
find
Point
Source
ByPoint
(
point
:
CommonOffset
, m
?:
Matrix
, force
?:
boolean
, camera
?:
Camera
)
:
PointSource
Parameters
point:
CommonOffset
Optional
m:
Matrix
Optional
force:
boolean
Optional
camera:
Camera
Returns
PointSource
game
game
(
)
:
Game
Returns
Game
get
Matrix
get
Matrix
(
)
:
Matrix
Returns
Matrix
hide
hide
(
)
:
void
Returns
void
insert
Before
insert
Before
(
e
:
E
, target
:
E
)
:
void
Parameters
e:
E
target:
E
Returns
void
invalidate
invalidate
(
)
:
void
Returns
void
modified
modified
(
isBubbling
?:
boolean
)
:
void
Parameters
Optional
isBubbling:
boolean
Returns
void
move
By
move
By
(
x
:
number
, y
:
number
)
:
void
Parameters
x:
number
y:
number
Returns
void
move
To
move
To
(
x
:
number
, y
:
number
)
:
void
move
To
(
obj
:
CommonOffset
)
:
void
Parameters
x:
number
y:
number
Returns
void
Parameters
obj:
CommonOffset
Returns
void
remove
remove
(
e
?:
E
)
:
void
Parameters
Optional
e:
E
Returns
void
render
render
(
renderer
:
Renderer
, camera
?:
Camera
)
:
void
Parameters
renderer:
Renderer
Optional
camera:
Camera
Returns
void
render
Cache
render
Cache
(
renderer
:
Renderer
)
:
void
Parameters
renderer:
Renderer
Returns
void
render
Self
render
Self
(
renderer
:
Renderer
, camera
?:
Camera
)
:
boolean
Parameters
renderer:
Renderer
Optional
camera:
Camera
Returns
boolean
render
Self
From
Cache
render
Self
From
Cache
(
renderer
:
Renderer
)
:
void
Parameters
renderer:
Renderer
Returns
void
resize
By
resize
By
(
width
:
number
, height
:
number
)
:
void
Parameters
width:
number
height:
number
Returns
void
resize
To
resize
To
(
width
:
number
, height
:
number
)
:
void
resize
To
(
size
:
CommonSize
)
:
void
Parameters
width:
number
height:
number
Returns
void
Parameters
size:
CommonSize
Returns
void
scale
scale
(
scale
:
number
)
:
void
Parameters
scale:
number
Returns
void
should
Find
Children
ByPoint
should
Find
Children
ByPoint
(
point
:
CommonOffset
)
:
boolean
Parameters
point:
CommonOffset
Returns
boolean
show
show
(
)
:
void
Returns
void
visible
visible
(
)
:
boolean
Returns
boolean
Globals
Multi
Line
Label
constructor
_before
Bitmap
Font
_before
Font
Size
_before
Line
Break
_before
Text
_before
Text
Align
_before
Width
_cache
_cache
Size
_has
Touchable
Children
_matrix
_rendered
Camera
_renderer
_should
Render
Children
_target
Cameras
angle
bitmap
Font
children
composite
Operation
font
Size
height
id
line
Break
line
Gap
local
message
opacity
parent
point
Down
point
Move
point
Up
scaleX
scaleY
scene
state
tag
target
Cameras
text
text
Align
text
Color
touchable
update
width
x
y
PADDING
_calculate
Bounding
Rect
_disable
Touch
Propagation
_enable
Touch
Propagation
_is
Target
Operation
_line
Broken
Text
_offsetX
_update
Matrix
append
calculate
Bounding
Rect
calculate
Cache
Size
destroy
destroyed
find
Point
Source
ByPoint
game
get
Matrix
hide
insert
Before
invalidate
modified
move
By
move
To
remove
render
render
Cache
render
Self
render
Self
From
Cache
resize
By
resize
To
scale
should
Find
Children
ByPoint
show
visible
Generated using
TypeDoc