react-native-mobilex 开发文档
Preparing search index...
ScreenTextItem
Interface ScreenTextItem
屏幕文本动画元素。
interface
ScreenTextItem
{
anchor
?:
TAnchor
;
animations
:
IScreenAnimation
[]
;
name
:
string
;
position
:
{
x
:
number
;
y
:
number
}
;
size
?:
{
width
?:
number
}
;
style
:
Partial
<
ScreenTextStyle
>
;
text
:
string
;
type
:
"text"
;
}
Hierarchy (
View Summary
)
ScreenItemBase
ScreenTextItem
Index
Properties
anchor?
animations
name
position
size?
style
text
type
Properties
Optional
anchor
anchor
?:
TAnchor
对象锚点 默认 top-left
animations
animations
:
IScreenAnimation
[]
name
name
:
string
屏幕动画名字
position
position
:
{
x
:
number
;
y
:
number
}
图片相对屏幕的位置 范围 0 - 100
Optional
size
size
?:
{
width
?:
number
}
Type declaration
Optional
width
?:
number
pixle
style
style
:
Partial
<
ScreenTextStyle
>
text
text
:
string
type
type
:
"text"
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
anchor
animations
name
position
size
style
text
type
react-native-mobilex 开发文档
Loading...
屏幕文本动画元素。