Preparing search index...
The search index is not available
rfw2d
rfw2d
TextObject
Class TextObject
Hierarchy (
View Summary
)
SceneObject
TextObject
Implements
TextLike
Index
Constructors
constructor
Properties
[OBJECT_
KIND]
label?
transform
Accessors
[to
String
Tag]
anchor
char
Count
font
layout
line
Height
parent
style
text
width
Constructors
constructor
new
TextObject
(
options
:
TextOptions
)
:
TextObject
Parameters
options
:
TextOptions
Returns
TextObject
Properties
[OBJECT_
KIND]
"[OBJECT_KIND]"
:
ObjectKind
= ObjectKind.OBJECT
Optional
label
label
?:
string
Readonly
transform
transform
:
LocalTransform2D
= ...
Accessors
[to
String
Tag]
get
"[toStringTag]"
()
:
string
Returns
string
anchor
get
anchor
()
:
ReadonlyVec2
Returns
ReadonlyVec2
set
anchor
(
anchor
:
Vec2
)
:
void
Parameters
anchor
:
Vec2
Returns
void
char
Count
get
charCount
()
:
number
Returns
number
font
get
font
()
:
Font
Returns
Font
set
font
(
font
:
Font
)
:
void
Parameters
font
:
Font
Returns
void
layout
get
layout
()
:
TextLayout
Returns
TextLayout
line
Height
get
lineHeight
()
:
number
Returns
number
parent
get
parent
()
:
undefined
|
Group
Returns
undefined
|
Group
set
parent
(
parent
:
undefined
|
Group
)
:
void
Parameters
parent
:
undefined
|
Group
Returns
void
style
get
style
()
:
TextStyle
Returns
TextStyle
set
style
(
style
:
Partial
<
TextStyle
>
)
:
void
Parameters
style
:
Partial
<
TextStyle
>
Returns
void
text
get
text
()
:
string
Returns
string
set
text
(
s
:
string
)
:
void
Parameters
s
:
string
Returns
void
width
get
width
()
:
number
Returns
number
set
width
(
width
:
number
)
:
void
Parameters
width
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
[OBJECT_
KIND]
label
transform
Accessors
[to
String
Tag]
anchor
char
Count
font
layout
line
Height
parent
style
text
width
rfw2d
Loading...