Skip to content

Interface: ITextData โ€‹

Hierarchy โ€‹

Implemented by โ€‹

Table of contents โ€‹

Properties โ€‹

Methods โ€‹

Properties โ€‹

__leaf โ€‹

โ€ข __leaf: ILeaf

Inherited from โ€‹

IUIData.__leaf

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:6


__input โ€‹

โ€ข __input: IObject

Inherited from โ€‹

IUIData.__input

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:7


__middle โ€‹

โ€ข __middle: IObject

Inherited from โ€‹

IUIData.__middle

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:8


__single โ€‹

โ€ข Optional __single: boolean

Inherited from โ€‹

IUIData.__single

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:30


id โ€‹

โ€ข Optional id: string

Inherited from โ€‹

IUIData.id

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:310


name โ€‹

โ€ข Optional name: string

Inherited from โ€‹

IUIData.name

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:311


className โ€‹

โ€ข Optional className: string

Inherited from โ€‹

IUIData.className

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:312


blendMode โ€‹

โ€ข Optional blendMode: IBlendMode

Inherited from โ€‹

IUIData.blendMode

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:314


opacity โ€‹

โ€ข Optional opacity: number

Inherited from โ€‹

IUIData.opacity

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:315


visible โ€‹

โ€ข Optional visible: boolean | 0

Inherited from โ€‹

IUIData.visible

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:316


selected โ€‹

โ€ข Optional selected: boolean

Inherited from โ€‹

IUIData.selected

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:317


disabled โ€‹

โ€ข Optional disabled: boolean

Inherited from โ€‹

IUIData.disabled

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:318


locked โ€‹

โ€ข Optional locked: boolean

Inherited from โ€‹

IUIData.locked

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:319


zIndex โ€‹

โ€ข Optional zIndex: number

Inherited from โ€‹

IUIData.zIndex

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:320


mask โ€‹

โ€ข Optional mask: boolean | IMaskType

Inherited from โ€‹

IUIData.mask

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:322


eraser โ€‹

โ€ข Optional eraser: boolean | IEraserType

Inherited from โ€‹

IUIData.eraser

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:323


x โ€‹

โ€ข Optional x: number

Inherited from โ€‹

IUIData.x

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:326


y โ€‹

โ€ข Optional y: number

Inherited from โ€‹

IUIData.y

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:327


width โ€‹

โ€ข Optional width: number

Inherited from โ€‹

IUIData.width

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:328


height โ€‹

โ€ข Optional height: number

Inherited from โ€‹

IUIData.height

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:329


scaleX โ€‹

โ€ข Optional scaleX: number

Inherited from โ€‹

IUIData.scaleX

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:330


scaleY โ€‹

โ€ข Optional scaleY: number

Inherited from โ€‹

IUIData.scaleY

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:331


rotation โ€‹

โ€ข Optional rotation: number

Inherited from โ€‹

IUIData.rotation

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:332


skewX โ€‹

โ€ข Optional skewX: number

Inherited from โ€‹

IUIData.skewX

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:333


skewY โ€‹

โ€ข Optional skewY: number

Inherited from โ€‹

IUIData.skewY

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:334


offsetX โ€‹

โ€ข Optional offsetX: number

Inherited from โ€‹

IUIData.offsetX

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:336


offsetY โ€‹

โ€ข Optional offsetY: number

Inherited from โ€‹

IUIData.offsetY

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:337


scrollX โ€‹

โ€ข Optional scrollX: number

Inherited from โ€‹

IUIData.scrollX

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:338


scrollY โ€‹

โ€ข Optional scrollY: number

Inherited from โ€‹

IUIData.scrollY

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:339


origin โ€‹

โ€ข Optional origin: IUnitPointData | IDirection

Inherited from โ€‹

IUIData.origin

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:341


around โ€‹

โ€ข Optional around: IUnitPointData | IDirection

Inherited from โ€‹

IUIData.around

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:342


lazy โ€‹

โ€ข Optional lazy: boolean

Inherited from โ€‹

IUIData.lazy

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:344


pixelRatio โ€‹

โ€ข Optional pixelRatio: number

Inherited from โ€‹

IUIData.pixelRatio

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:345


path โ€‹

โ€ข Optional path: IPathCommandData

Inherited from โ€‹

IUIData.path

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:347


windingRule โ€‹

โ€ข Optional windingRule: IWindingRule

Inherited from โ€‹

IUIData.windingRule

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:348


closed โ€‹

โ€ข Optional closed: boolean

Inherited from โ€‹

IUIData.closed

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:349


flow โ€‹

โ€ข Optional flow: IFlowType

Inherited from โ€‹

IUIData.flow

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:352


gap โ€‹

โ€ข Optional gap: IGap | IPointGap

Inherited from โ€‹

IUIData.gap

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:354


flowAlign โ€‹

โ€ข Optional flowAlign: IFlowAxisAlign | IFlowAlign

Inherited from โ€‹

IUIData.flowAlign

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:355


flowWrap โ€‹

โ€ข Optional flowWrap: IFlowWrap

Inherited from โ€‹

IUIData.flowWrap

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:356


itemBox โ€‹

โ€ข Optional itemBox: IFlowBoxType

Inherited from โ€‹

IUIData.itemBox

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:357


inFlow โ€‹

โ€ข Optional inFlow: boolean

Inherited from โ€‹

IUIData.inFlow

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:359


autoWidth โ€‹

โ€ข Optional autoWidth: IAutoSize

Inherited from โ€‹

IUIData.autoWidth

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:360


autoHeight โ€‹

โ€ข Optional autoHeight: IAutoSize

Inherited from โ€‹

IUIData.autoHeight

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:361


lockRatio โ€‹

โ€ข Optional lockRatio: boolean

Inherited from โ€‹

IUIData.lockRatio

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:362


autoBox โ€‹

โ€ข Optional autoBox: IAutoBoxData | IConstraint

Inherited from โ€‹

IUIData.autoBox

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:363


widthRange โ€‹

โ€ข Optional widthRange: IRangeSize

Inherited from โ€‹

IUIData.widthRange

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:365


heightRange โ€‹

โ€ข Optional heightRange: IRangeSize

Inherited from โ€‹

IUIData.heightRange

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:366


draggable โ€‹

โ€ข Optional draggable: boolean | IAxis

Inherited from โ€‹

IUIData.draggable

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:369


dragBounds โ€‹

โ€ข Optional dragBounds: "parent" | IBoundsData

Inherited from โ€‹

IUIData.dragBounds

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:370


editable โ€‹

โ€ข Optional editable: boolean

Inherited from โ€‹

IUIData.editable

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:372


hittable โ€‹

โ€ข Optional hittable: boolean

Inherited from โ€‹

IUIData.hittable

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:374


hitFill โ€‹

โ€ข Optional hitFill: IHitType

Inherited from โ€‹

IUIData.hitFill

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:375


hitStroke โ€‹

โ€ข Optional hitStroke: IHitType

Inherited from โ€‹

IUIData.hitStroke

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:376


hitBox โ€‹

โ€ข Optional hitBox: boolean

Inherited from โ€‹

IUIData.hitBox

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:377


hitChildren โ€‹

โ€ข Optional hitChildren: boolean

Inherited from โ€‹

IUIData.hitChildren

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:378


hitSelf โ€‹

โ€ข Optional hitSelf: boolean

Inherited from โ€‹

IUIData.hitSelf

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:379


hitRadius โ€‹

โ€ข Optional hitRadius: number

Inherited from โ€‹

IUIData.hitRadius

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:380


button โ€‹

โ€ข Optional button: boolean

Inherited from โ€‹

IUIData.button

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:382


cursor โ€‹

โ€ข Optional cursor: ICursorType | ICursorType[]

Inherited from โ€‹

IUIData.cursor

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:383


motionPath โ€‹

โ€ข Optional motionPath: boolean

Inherited from โ€‹

IUIData.motionPath

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:385


motion โ€‹

โ€ข Optional motion: number | IUnitData

Inherited from โ€‹

IUIData.motion

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:386


motionRotation โ€‹

โ€ข Optional motionRotation: number | boolean

Inherited from โ€‹

IUIData.motionRotation

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:387


normalStyle โ€‹

โ€ข Optional normalStyle: IObject

Inherited from โ€‹

IUIData.normalStyle

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:389


data โ€‹

โ€ข Optional data: IObject

Inherited from โ€‹

IUIData.data

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:392


__childBranchNumber โ€‹

โ€ข Optional __childBranchNumber: number

Inherited from โ€‹

IUIData.__childBranchNumber

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:395


__complex โ€‹

โ€ข Optional __complex: boolean

Inherited from โ€‹

IUIData.__complex

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:396


__naturalWidth โ€‹

โ€ข Optional __naturalWidth: number

Inherited from โ€‹

IUIData.__naturalWidth

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:398


__naturalHeight โ€‹

โ€ข Optional __naturalHeight: number

Inherited from โ€‹

IUIData.__naturalHeight

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:399


__autoWidth โ€‹

โ€ข Optional Readonly __autoWidth: boolean

Inherited from โ€‹

IUIData.__autoWidth

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:401


__autoHeight โ€‹

โ€ข Optional Readonly __autoHeight: boolean

Inherited from โ€‹

IUIData.__autoHeight

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:402


__autoSide โ€‹

โ€ข Optional Readonly __autoSide: boolean

Inherited from โ€‹

IUIData.__autoSide

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:403


__autoSize โ€‹

โ€ข Optional Readonly __autoSize: boolean

Inherited from โ€‹

IUIData.__autoSize

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:404


__useNaturalRatio โ€‹

โ€ข Readonly __useNaturalRatio: boolean

Inherited from โ€‹

IUIData.__useNaturalRatio

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:406


__isLinePath โ€‹

โ€ข Readonly __isLinePath: boolean

Inherited from โ€‹

IUIData.__isLinePath

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:407


__blendMode โ€‹

โ€ข Readonly __blendMode: string

Inherited from โ€‹

IUIData.__blendMode

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:408


__useArrow โ€‹

โ€ข Optional __useArrow: boolean

Inherited from โ€‹

IUIData.__useArrow

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:410


__useEffect โ€‹

โ€ข Optional __useEffect: boolean

Inherited from โ€‹

IUIData.__useEffect

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:411


__pathInputed โ€‹

โ€ข Optional __pathInputed: number

Inherited from โ€‹

IUIData.__pathInputed

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:413


__pathForRender โ€‹

โ€ข Optional __pathForRender: IPathCommandData

Inherited from โ€‹

IUIData.__pathForRender

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:414


__path2DForRender โ€‹

โ€ข Optional __path2DForRender: IPath2D

Inherited from โ€‹

IUIData.__path2DForRender

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:415


__pathForMotion โ€‹

โ€ข Optional __pathForMotion: IMotionPathData

Inherited from โ€‹

IUIData.__pathForMotion

Defined in โ€‹

leafer/packages/interface/src/display/ILeaf.ts:416


cornerRadius โ€‹

โ€ข Optional cornerRadius: number

Inherited from โ€‹

IUIData.cornerRadius

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:17


cornerSmoothing โ€‹

โ€ข Optional cornerSmoothing: number

Inherited from โ€‹

IUIData.cornerSmoothing

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:18


fill โ€‹

โ€ข Optional fill: string | ILeafPaint[]

Inherited from โ€‹

IUIData.fill

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:29


borderWidth โ€‹

โ€ข Optional borderWidth: number | number[]

Inherited from โ€‹

IUIData.borderWidth

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:34


borderRadius โ€‹

โ€ข Optional borderRadius: number | number[]

Inherited from โ€‹

IUIData.borderRadius

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:35


stroke โ€‹

โ€ข Optional stroke: string | ILeafStrokePaint[]

Inherited from โ€‹

IUIData.stroke

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:70


strokeAlign โ€‹

โ€ข Optional strokeAlign: IStrokeAlign

Inherited from โ€‹

IUIData.strokeAlign

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:72


strokeWidth โ€‹

โ€ข Optional strokeWidth: number

Inherited from โ€‹

IUIData.strokeWidth

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:73


strokeWidths โ€‹

โ€ข Optional strokeWidths: number[]

Inherited from โ€‹

IUIData.strokeWidths

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:74


strokeWidthFixed โ€‹

โ€ข Optional strokeWidthFixed: boolean

Inherited from โ€‹

IUIData.strokeWidthFixed

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:75


strokeCap โ€‹

โ€ข Optional strokeCap: IStrokeCap

Inherited from โ€‹

IUIData.strokeCap

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:76


strokeJoin โ€‹

โ€ข Optional strokeJoin: IStrokeJoin

Inherited from โ€‹

IUIData.strokeJoin

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:77


dashPattern โ€‹

โ€ข Optional dashPattern: number[]

Inherited from โ€‹

IUIData.dashPattern

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:78


dashOffset โ€‹

โ€ข Optional dashOffset: number

Inherited from โ€‹

IUIData.dashOffset

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:79


miterLimit โ€‹

โ€ข Optional miterLimit: number

Inherited from โ€‹

IUIData.miterLimit

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:80


startArrow โ€‹

โ€ข Optional startArrow: IArrowType

Inherited from โ€‹

IUIData.startArrow

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:82


endArrow โ€‹

โ€ข Optional endArrow: IArrowType

Inherited from โ€‹

IUIData.endArrow

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:83


fontFamily โ€‹

โ€ข Optional fontFamily: string

Inherited from โ€‹

IUIData.fontFamily

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:128


fontSize โ€‹

โ€ข Optional fontSize: number

Inherited from โ€‹

IUIData.fontSize

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:129


fontWeight โ€‹

โ€ข Optional fontWeight: IFontWeight

Inherited from โ€‹

IUIData.fontWeight

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:130


italic โ€‹

โ€ข Optional italic: boolean

Inherited from โ€‹

IUIData.italic

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:131


textCase โ€‹

โ€ข Optional textCase: ITextCase

Inherited from โ€‹

IUIData.textCase

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:132


textDecoration โ€‹

โ€ข Optional textDecoration: ITextDecoration

Inherited from โ€‹

IUIData.textDecoration

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:133


letterSpacing โ€‹

โ€ข Optional letterSpacing: number

Inherited from โ€‹

IUIData.letterSpacing

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:134


lineHeight โ€‹

โ€ข Optional lineHeight: number

Inherited from โ€‹

IUIData.lineHeight

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:135


paraIndent โ€‹

โ€ข Optional paraIndent: number

Inherited from โ€‹

IUIData.paraIndent

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:137


paraSpacing โ€‹

โ€ข Optional paraSpacing: number

Inherited from โ€‹

IUIData.paraSpacing

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:138


textAlign โ€‹

โ€ข Optional textAlign: ITextAlign

Inherited from โ€‹

IUIData.textAlign

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:140


verticalAlign โ€‹

โ€ข Optional verticalAlign: IVerticalAlign

Inherited from โ€‹

IUIData.verticalAlign

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:141


autoSizeAlign โ€‹

โ€ข Optional autoSizeAlign: boolean

Inherited from โ€‹

IUIData.autoSizeAlign

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:142


textWrap โ€‹

โ€ข Optional textWrap: ITextWrap

Inherited from โ€‹

IUIData.textWrap

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:144


textOverflow โ€‹

โ€ข Optional textOverflow: string

Inherited from โ€‹

IUIData.textOverflow

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:145


shadow โ€‹

โ€ข Optional shadow: ILeafShadowEffect[]

Inherited from โ€‹

IUIData.shadow

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:164


innerShadow โ€‹

โ€ข Optional innerShadow: ILeafShadowEffect[]

Inherited from โ€‹

IUIData.innerShadow

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:165


blur โ€‹

โ€ข Optional blur: number

Inherited from โ€‹

IUIData.blur

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:166


backgroundBlur โ€‹

โ€ข Optional backgroundBlur: number

Inherited from โ€‹

IUIData.backgroundBlur

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:167


grayscale โ€‹

โ€ข Optional grayscale: number

Inherited from โ€‹

IUIData.grayscale

Defined in โ€‹

ui/packages/interface/src/ICommonAttr.ts:168


text โ€‹

โ€ข Optional text: string

Inherited from โ€‹

ITextAttrData.text

Defined in โ€‹

ui/packages/interface/src/IUI.ts:209


padding โ€‹

โ€ข Optional padding: IFourNumber

Inherited from โ€‹

IUIData.padding

Defined in โ€‹

ui/packages/interface/src/IUI.ts:210


resizeFontSize โ€‹

โ€ข Optional resizeFontSize: boolean

Inherited from โ€‹

ITextAttrData.resizeFontSize

Defined in โ€‹

ui/packages/interface/src/IUI.ts:211


__baseLine โ€‹

โ€ข Optional __baseLine: number

Defined in โ€‹

ui/packages/interface/src/IUI.ts:215


__lineHeight โ€‹

โ€ข Optional __lineHeight: number

Defined in โ€‹

ui/packages/interface/src/IUI.ts:216


__letterSpacing โ€‹

โ€ข Optional __letterSpacing: number

Defined in โ€‹

ui/packages/interface/src/IUI.ts:217


__padding โ€‹

โ€ข Optional __padding: number[]

Defined in โ€‹

ui/packages/interface/src/IUI.ts:218


__clipText โ€‹

โ€ข Optional __clipText: boolean

Defined in โ€‹

ui/packages/interface/src/IUI.ts:219


__textBoxBounds โ€‹

โ€ข Optional __textBoxBounds: IBoundsData

Defined in โ€‹

ui/packages/interface/src/IUI.ts:220


animation โ€‹

โ€ข Optional animation: IAnimation

Inherited from โ€‹

IUIData.animation

Defined in โ€‹

ui/packages/interface/src/IUI.ts:433


animationOut โ€‹

โ€ข Optional animationOut: IAnimation

Inherited from โ€‹

IUIData.animationOut

Defined in โ€‹

ui/packages/interface/src/IUI.ts:434


transition โ€‹

โ€ข Optional transition: ITransition

Inherited from โ€‹

IUIData.transition

Defined in โ€‹

ui/packages/interface/src/IUI.ts:436


transitionOut โ€‹

โ€ข Optional transitionOut: ITransition

Inherited from โ€‹

IUIData.transitionOut

Defined in โ€‹

ui/packages/interface/src/IUI.ts:437


states โ€‹

โ€ข Optional states: IStates

Inherited from โ€‹

IUIData.states

Defined in โ€‹

ui/packages/interface/src/IUI.ts:439


state โ€‹

โ€ข Optional state: string

Inherited from โ€‹

IUIData.state

Defined in โ€‹

ui/packages/interface/src/IUI.ts:440


hoverStyle โ€‹

โ€ข Optional hoverStyle: IStateStyle

Inherited from โ€‹

IUIData.hoverStyle

Defined in โ€‹

ui/packages/interface/src/IUI.ts:442


pressStyle โ€‹

โ€ข Optional pressStyle: IStateStyle

Inherited from โ€‹

IUIData.pressStyle

Defined in โ€‹

ui/packages/interface/src/IUI.ts:443


focusStyle โ€‹

โ€ข Optional focusStyle: IStateStyle

Inherited from โ€‹

IUIData.focusStyle

Defined in โ€‹

ui/packages/interface/src/IUI.ts:444


selectedStyle โ€‹

โ€ข Optional selectedStyle: IStateStyle

Inherited from โ€‹

IUIData.selectedStyle

Defined in โ€‹

ui/packages/interface/src/IUI.ts:445


disabledStyle โ€‹

โ€ข Optional disabledStyle: IStateStyle

Inherited from โ€‹

IUIData.disabledStyle

Defined in โ€‹

ui/packages/interface/src/IUI.ts:446


scale โ€‹

โ€ข Readonly scale: number | IPointData

Inherited from โ€‹

IUIData.scale

Defined in โ€‹

ui/packages/interface/src/IUI.ts:455


__isFills โ€‹

โ€ข Optional __isFills: boolean

Inherited from โ€‹

IUIData.__isFills

Defined in โ€‹

ui/packages/interface/src/IUI.ts:458


__isStrokes โ€‹

โ€ข Optional __isStrokes: boolean

Inherited from โ€‹

IUIData.__isStrokes

Defined in โ€‹

ui/packages/interface/src/IUI.ts:459


__strokeWidth โ€‹

โ€ข Readonly __strokeWidth: number

Inherited from โ€‹

IUIData.__strokeWidth

Defined in โ€‹

ui/packages/interface/src/IUI.ts:461


__hasStroke โ€‹

โ€ข Readonly __hasStroke: boolean

Inherited from โ€‹

IUIData.__hasStroke

Defined in โ€‹

ui/packages/interface/src/IUI.ts:462


__pixelFill โ€‹

โ€ข Optional __pixelFill: boolean

Inherited from โ€‹

IUIData.__pixelFill

Defined in โ€‹

ui/packages/interface/src/IUI.ts:465


__pixelStroke โ€‹

โ€ข Optional __pixelStroke: boolean

Inherited from โ€‹

IUIData.__pixelStroke

Defined in โ€‹

ui/packages/interface/src/IUI.ts:466


__isHitPixel โ€‹

โ€ข Optional __isHitPixel: boolean

Inherited from โ€‹

IUIData.__isHitPixel

Defined in โ€‹

ui/packages/interface/src/IUI.ts:468


__isCanvas โ€‹

โ€ข Optional __isCanvas: boolean

Inherited from โ€‹

IUIData.__isCanvas

Defined in โ€‹

ui/packages/interface/src/IUI.ts:469


__opacityFill โ€‹

โ€ข Optional __opacityFill: boolean

Inherited from โ€‹

IUIData.__opacityFill

Defined in โ€‹

ui/packages/interface/src/IUI.ts:471


__opacityStroke โ€‹

โ€ข Optional __opacityStroke: boolean

Inherited from โ€‹

IUIData.__opacityStroke

Defined in โ€‹

ui/packages/interface/src/IUI.ts:472


__drawAfterFill โ€‹

โ€ข Optional __drawAfterFill: boolean

Inherited from โ€‹

IUIData.__drawAfterFill

Defined in โ€‹

ui/packages/interface/src/IUI.ts:474


__clipAfterFill โ€‹

โ€ข Optional Readonly __clipAfterFill: boolean

Inherited from โ€‹

IUIData.__clipAfterFill

Defined in โ€‹

ui/packages/interface/src/IUI.ts:475


__isOverflow โ€‹

โ€ข Optional __isOverflow: boolean

Inherited from โ€‹

IUIData.__isOverflow

Defined in โ€‹

ui/packages/interface/src/IUI.ts:477


__blendLayer โ€‹

โ€ข Optional __blendLayer: boolean

Inherited from โ€‹

IUIData.__blendLayer

Defined in โ€‹

ui/packages/interface/src/IUI.ts:478


__boxStroke โ€‹

โ€ข Optional __boxStroke: boolean

Inherited from โ€‹

IUIData.__boxStroke

Defined in โ€‹

ui/packages/interface/src/IUI.ts:480


__font โ€‹

โ€ข Optional __font: string

Inherited from โ€‹

IUIData.__font

Defined in โ€‹

ui/packages/interface/src/IUI.ts:483


__textDrawData โ€‹

โ€ข Optional __textDrawData: ITextDrawData

Inherited from โ€‹

IUIData.__textDrawData

Defined in โ€‹

ui/packages/interface/src/IUI.ts:484


__needComputePaint โ€‹

โ€ข Optional __needComputePaint: boolean

Inherited from โ€‹

IUIData.__needComputePaint

Defined in โ€‹

ui/packages/interface/src/IUI.ts:486

Methods โ€‹

__get โ€‹

โ–ธ __get(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Inherited from โ€‹

IUIData.__get

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:10


__getData โ€‹

โ–ธ __getData(): IObject

Returns โ€‹

IObject

Inherited from โ€‹

IUIData.__getData

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:11


__setInput โ€‹

โ–ธ __setInput(name, value): void

Parameters โ€‹

NameType
namestring
valueany

Returns โ€‹

void

Inherited from โ€‹

IUIData.__setInput

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:13


__getInput โ€‹

โ–ธ __getInput(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Inherited from โ€‹

IUIData.__getInput

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:14


__removeInput โ€‹

โ–ธ __removeInput(name): void

Parameters โ€‹

NameType
namestring

Returns โ€‹

void

Inherited from โ€‹

IUIData.__removeInput

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:15


__getInputData โ€‹

โ–ธ __getInputData(names?, options?): IObject

Parameters โ€‹

NameType
names?string[] | IObject
options?IJSONOptions

Returns โ€‹

IObject

Inherited from โ€‹

IUIData.__getInputData

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:16


__setMiddle โ€‹

โ–ธ __setMiddle(name, value): void

Parameters โ€‹

NameType
namestring
valueany

Returns โ€‹

void

Inherited from โ€‹

IUIData.__setMiddle

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:18


__getMiddle โ€‹

โ–ธ __getMiddle(name): any

Parameters โ€‹

NameType
namestring

Returns โ€‹

any

Inherited from โ€‹

IUIData.__getMiddle

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:19


destroy โ€‹

โ–ธ destroy(): void

Returns โ€‹

void

Inherited from โ€‹

IUIData.destroy

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:21


__checkSingle โ€‹

โ–ธ __checkSingle(): void

Returns โ€‹

void

Inherited from โ€‹

IUIData.__checkSingle

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:31


__removeNaturalSize โ€‹

โ–ธ __removeNaturalSize(): void

Returns โ€‹

void

Inherited from โ€‹

IUIData.__removeNaturalSize

Defined in โ€‹

leafer/packages/interface/src/data/ILeafData.ts:32


__computePaint โ€‹

โ–ธ __computePaint(): void

Returns โ€‹

void

Inherited from โ€‹

IUIData.__computePaint

Defined in โ€‹

ui/packages/interface/src/IUI.ts:487

Released under the MIT License.