Interface: ITextInputData
Hierarchy
ITextAttrData
ITextStyleInputData
↳
ITextInputData
Table of contents
Properties
- id
- name
- className
- blendMode
- opacity
- visible
- isMask
- zIndex
- x
- y
- width
- height
- scaleX
- scaleY
- rotation
- skewX
- skewY
- draggable
- hittable
- hitType
- hitChildren
- fontFamily
- fontSize
- fontWeight
- italic
- textCase
- textDecoration
- letterSpacing
- lineHeight
- paragraphIndent
- paragraphSpacing
- textAlign
- verticalAlign
- fill
- stroke
- strokeAlign
- strokeWidth
- strokeCap
- strokeJoin
- dashPattern
- dashOffset
- miterLimit
- cornerRadius
- cornerSmoothing
- shadow
- innerShadow
- blur
- backgroundBlur
- grayscale
- content
- locked
Properties
id
Optional
id: string
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:86
name
Optional
name: string
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:87
className
Optional
className: string
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:88
blendMode
Optional
blendMode: IBlendMode
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:90
opacity
Optional
opacity: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:91
visible
Optional
visible: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:92
isMask
Optional
isMask: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:93
zIndex
Optional
zIndex: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:94
x
Optional
x: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:97
y
Optional
y: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:98
width
Optional
width: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:99
height
Optional
height: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:100
scaleX
Optional
scaleX: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:101
scaleY
Optional
scaleY: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:102
rotation
Optional
rotation: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:103
skewX
Optional
skewX: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:104
skewY
Optional
skewY: number
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:105
draggable
Optional
draggable: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:107
hittable
Optional
hittable: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:109
hitType
Optional
hitType: IHitType
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:110
hitChildren
Optional
hitChildren: boolean
Inherited from
Defined in
leafer/packages/interface/src/display/ILeaf.ts:111
fontFamily
Optional
fontFamily: string
Inherited from
ITextStyleInputData.fontFamily
Defined in
ui/packages/interface/src/ICommonAttr.ts:90
fontSize
Optional
fontSize: number
Inherited from
ITextStyleInputData.fontSize
Defined in
ui/packages/interface/src/ICommonAttr.ts:91
fontWeight
Optional
fontWeight: IFontWeight
Inherited from
ITextStyleInputData.fontWeight
Defined in
ui/packages/interface/src/ICommonAttr.ts:92
italic
Optional
italic: boolean
Inherited from
ITextStyleInputData.italic
Defined in
ui/packages/interface/src/ICommonAttr.ts:93
textCase
Optional
textCase: ITextCase
Inherited from
ITextStyleInputData.textCase
Defined in
ui/packages/interface/src/ICommonAttr.ts:94
textDecoration
Optional
textDecoration: ITextDecoration
Inherited from
ITextStyleInputData.textDecoration
Defined in
ui/packages/interface/src/ICommonAttr.ts:95
letterSpacing
Optional
letterSpacing: string
| number
Inherited from
ITextStyleInputData.letterSpacing
Defined in
ui/packages/interface/src/ICommonAttr.ts:96
lineHeight
Optional
lineHeight: string
| number
Inherited from
ITextStyleInputData.lineHeight
Defined in
ui/packages/interface/src/ICommonAttr.ts:97
paragraphIndent
Optional
paragraphIndent: number
Inherited from
ITextStyleInputData.paragraphIndent
Defined in
ui/packages/interface/src/ICommonAttr.ts:99
paragraphSpacing
Optional
paragraphSpacing: number
Inherited from
ITextStyleInputData.paragraphSpacing
Defined in
ui/packages/interface/src/ICommonAttr.ts:100
textAlign
Optional
textAlign: ITextAlign
Inherited from
ITextStyleInputData.textAlign
Defined in
ui/packages/interface/src/ICommonAttr.ts:102
verticalAlign
Optional
verticalAlign: IVerticalAlign
Inherited from
ITextStyleInputData.verticalAlign
Defined in
ui/packages/interface/src/ICommonAttr.ts:103
fill
Optional
fill: string
| IPaint
| IPaint
[]
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:24
stroke
Optional
stroke: string
| IPaint
| IPaint
[]
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:49
strokeAlign
Optional
strokeAlign: IStrokeAlign
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:51
strokeWidth
Optional
strokeWidth: string
| number
| number
[]
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:52
strokeCap
Optional
strokeCap: IStrokeCap
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:53
strokeJoin
Optional
strokeJoin: IStrokeJoin
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:54
dashPattern
Optional
dashPattern: string
| number
[]
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:55
dashOffset
Optional
dashOffset: number
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:56
miterLimit
Optional
miterLimit: number
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:57
cornerRadius
Optional
cornerRadius: string
| number
| number
[]
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:11
cornerSmoothing
Optional
cornerSmoothing: number
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:12
shadow
Optional
shadow: string
| IShadowEffect
| IShadowEffect
[]
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:131
innerShadow
Optional
innerShadow: string
| IShadowEffect
| IShadowEffect
[]
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:132
blur
Optional
blur: number
| IBlurEffect
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:133
backgroundBlur
Optional
backgroundBlur: number
| IBlurEffect
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:134
grayscale
Optional
grayscale: number
| IGrayscaleEffect
Inherited from
Defined in
ui/packages/interface/src/ICommonAttr.ts:135
content
Optional
content: string
Inherited from
ITextAttrData.content
Defined in
ui/packages/interface/src/IUI.ts:112
locked
Optional
locked: boolean