Skip to content

Interface: IUIBaseInputData ​

Hierarchy ​

Table of contents ​

Properties ​

Properties ​

id ​

• Optional id: string

Inherited from ​

ILeafInputData.id

Defined in ​

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


name ​

• Optional name: string

Inherited from ​

ILeafInputData.name

Defined in ​

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


className ​

• Optional className: string

Inherited from ​

ILeafInputData.className

Defined in ​

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


blendMode ​

• Optional blendMode: IBlendMode

Inherited from ​

ILeafInputData.blendMode

Defined in ​

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


opacity ​

• Optional opacity: number

Inherited from ​

ILeafInputData.opacity

Defined in ​

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


visible ​

• Optional visible: boolean | 0

Inherited from ​

ILeafInputData.visible

Defined in ​

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


selected ​

• Optional selected: boolean

Inherited from ​

ILeafInputData.selected

Defined in ​

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


disabled ​

• Optional disabled: boolean

Inherited from ​

ILeafInputData.disabled

Defined in ​

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


locked ​

• Optional locked: boolean

Inherited from ​

ILeafInputData.locked

Defined in ​

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


zIndex ​

• Optional zIndex: number

Inherited from ​

ILeafInputData.zIndex

Defined in ​

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


mask ​

• Optional mask: boolean | IMaskType

Inherited from ​

ILeafInputData.mask

Defined in ​

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


eraser ​

• Optional eraser: boolean | IEraserType

Inherited from ​

ILeafInputData.eraser

Defined in ​

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


x ​

• Optional x: number

Inherited from ​

ILeafInputData.x

Defined in ​

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


y ​

• Optional y: number

Inherited from ​

ILeafInputData.y

Defined in ​

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


width ​

• Optional width: number

Inherited from ​

ILeafInputData.width

Defined in ​

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


height ​

• Optional height: number

Inherited from ​

ILeafInputData.height

Defined in ​

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


scaleX ​

• Optional scaleX: number

Inherited from ​

ILeafInputData.scaleX

Defined in ​

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


scaleY ​

• Optional scaleY: number

Inherited from ​

ILeafInputData.scaleY

Defined in ​

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


rotation ​

• Optional rotation: number

Inherited from ​

ILeafInputData.rotation

Defined in ​

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


skewX ​

• Optional skewX: number

Inherited from ​

ILeafInputData.skewX

Defined in ​

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


skewY ​

• Optional skewY: number

Inherited from ​

ILeafInputData.skewY

Defined in ​

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


scale ​

• Optional scale: number | IPointData

Inherited from ​

ILeafInputData.scale

Defined in ​

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


offsetX ​

• Optional offsetX: number

Inherited from ​

ILeafInputData.offsetX

Defined in ​

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


offsetY ​

• Optional offsetY: number

Inherited from ​

ILeafInputData.offsetY

Defined in ​

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


scrollX ​

• Optional scrollX: number

Inherited from ​

ILeafInputData.scrollX

Defined in ​

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


scrollY ​

• Optional scrollY: number

Inherited from ​

ILeafInputData.scrollY

Defined in ​

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


origin ​

• Optional origin: IUnitPointData | IDirection

Inherited from ​

ILeafInputData.origin

Defined in ​

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


around ​

• Optional around: IUnitPointData | IDirection

Inherited from ​

ILeafInputData.around

Defined in ​

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


lazy ​

• Optional lazy: boolean

Inherited from ​

ILeafInputData.lazy

Defined in ​

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


pixelRatio ​

• Optional pixelRatio: number

Inherited from ​

ILeafInputData.pixelRatio

Defined in ​

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


path ​

• Optional path: string | IPathCommandData | IPathCommandObject[]

Inherited from ​

ILeafInputData.path

Defined in ​

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


windingRule ​

• Optional windingRule: IWindingRule

Inherited from ​

ILeafInputData.windingRule

Defined in ​

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


closed ​

• Optional closed: boolean

Inherited from ​

ILeafInputData.closed

Defined in ​

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


flow ​

• Optional flow: IFlowType

Inherited from ​

ILeafInputData.flow

Defined in ​

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


padding ​

• Optional padding: IFourNumber

Inherited from ​

ILeafInputData.padding

Defined in ​

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


gap ​

• Optional gap: IGap | IPointGap

Inherited from ​

ILeafInputData.gap

Defined in ​

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


flowAlign ​

• Optional flowAlign: IFlowAxisAlign | IFlowAlign

Inherited from ​

ILeafInputData.flowAlign

Defined in ​

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


flowWrap ​

• Optional flowWrap: IFlowWrap

Inherited from ​

ILeafInputData.flowWrap

Defined in ​

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


itemBox ​

• Optional itemBox: IFlowBoxType

Inherited from ​

ILeafInputData.itemBox

Defined in ​

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


inFlow ​

• Optional inFlow: boolean

Inherited from ​

ILeafInputData.inFlow

Defined in ​

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


autoWidth ​

• Optional autoWidth: IAutoSize

Inherited from ​

ILeafInputData.autoWidth

Defined in ​

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


autoHeight ​

• Optional autoHeight: IAutoSize

Inherited from ​

ILeafInputData.autoHeight

Defined in ​

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


lockRatio ​

• Optional lockRatio: boolean

Inherited from ​

ILeafInputData.lockRatio

Defined in ​

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


autoBox ​

• Optional autoBox: IAutoBoxData | IConstraint

Inherited from ​

ILeafInputData.autoBox

Defined in ​

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


widthRange ​

• Optional widthRange: IRangeSize

Inherited from ​

ILeafInputData.widthRange

Defined in ​

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


heightRange ​

• Optional heightRange: IRangeSize

Inherited from ​

ILeafInputData.heightRange

Defined in ​

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


draggable ​

• Optional draggable: boolean | IAxis

Inherited from ​

ILeafInputData.draggable

Defined in ​

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


dragBounds ​

• Optional dragBounds: "parent" | IBoundsData

Inherited from ​

ILeafInputData.dragBounds

Defined in ​

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


editable ​

• Optional editable: boolean

Inherited from ​

ILeafInputData.editable

Defined in ​

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


hittable ​

• Optional hittable: boolean

Inherited from ​

ILeafInputData.hittable

Defined in ​

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


hitFill ​

• Optional hitFill: IHitType

Inherited from ​

ILeafInputData.hitFill

Defined in ​

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


hitStroke ​

• Optional hitStroke: IHitType

Inherited from ​

ILeafInputData.hitStroke

Defined in ​

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


hitBox ​

• Optional hitBox: boolean

Inherited from ​

ILeafInputData.hitBox

Defined in ​

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


hitChildren ​

• Optional hitChildren: boolean

Inherited from ​

ILeafInputData.hitChildren

Defined in ​

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


hitSelf ​

• Optional hitSelf: boolean

Inherited from ​

ILeafInputData.hitSelf

Defined in ​

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


hitRadius ​

• Optional hitRadius: number

Inherited from ​

ILeafInputData.hitRadius

Defined in ​

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


button ​

• Optional button: boolean

Inherited from ​

ILeafInputData.button

Defined in ​

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


cursor ​

• Optional cursor: ICursorType | ICursorType[]

Inherited from ​

ILeafInputData.cursor

Defined in ​

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


motionPath ​

• Optional motionPath: boolean

Inherited from ​

ILeafInputData.motionPath

Defined in ​

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


motionPrecision ​

• Optional motionPrecision: number

Inherited from ​

ILeafInputData.motionPrecision

Defined in ​

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


motion ​

• Optional motion: number | IUnitData

Inherited from ​

ILeafInputData.motion

Defined in ​

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


motionRotation ​

• Optional motionRotation: number | boolean

Inherited from ​

ILeafInputData.motionRotation

Defined in ​

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


normalStyle ​

• Optional normalStyle: IObject

Inherited from ​

ILeafInputData.normalStyle

Defined in ​

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


event ​

• Optional event: IEventMap

Inherited from ​

ILeafInputData.event

Defined in ​

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


data ​

• Optional data: IObject

Inherited from ​

ILeafInputData.data

Defined in ​

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


tag ​

• Optional tag: string

Inherited from ​

ILeafInputData.tag

Defined in ​

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


noBounds ​

• Optional noBounds: boolean

Inherited from ​

ILeafInputData.noBounds

Defined in ​

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


cornerRadius ​

• Optional cornerRadius: string | IFourNumber

Inherited from ​

ICornerRadiusInputData.cornerRadius

Defined in ​

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


cornerSmoothing ​

• Optional cornerSmoothing: number

Inherited from ​

ICornerRadiusInputData.cornerSmoothing

Defined in ​

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


fill ​

• Optional fill: IFill

Inherited from ​

IFillInputData.fill

Defined in ​

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


stroke ​

• Optional stroke: IStroke

Inherited from ​

IStrokeInputData.stroke

Defined in ​

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


strokeAlign ​

• Optional strokeAlign: IStrokeAlign

Inherited from ​

IStrokeInputData.strokeAlign

Defined in ​

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


strokeWidth ​

• Optional strokeWidth: string | IFourNumber

Inherited from ​

IStrokeInputData.strokeWidth

Defined in ​

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


strokeWidthFixed ​

• Optional strokeWidthFixed: boolean

Inherited from ​

IStrokeInputData.strokeWidthFixed

Defined in ​

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


strokeCap ​

• Optional strokeCap: IStrokeCap

Inherited from ​

IStrokeInputData.strokeCap

Defined in ​

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


strokeJoin ​

• Optional strokeJoin: IStrokeJoin

Inherited from ​

IStrokeInputData.strokeJoin

Defined in ​

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


dashPattern ​

• Optional dashPattern: string | number[]

Inherited from ​

IStrokeInputData.dashPattern

Defined in ​

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


dashOffset ​

• Optional dashOffset: number

Inherited from ​

IStrokeInputData.dashOffset

Defined in ​

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


miterLimit ​

• Optional miterLimit: number

Inherited from ​

IStrokeInputData.miterLimit

Defined in ​

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


startArrow ​

• Optional startArrow: IArrowType

Inherited from ​

IStrokeInputData.startArrow

Defined in ​

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


endArrow ​

• Optional endArrow: IArrowType

Inherited from ​

IStrokeInputData.endArrow

Defined in ​

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


fontFamily ​

• Optional fontFamily: string

Inherited from ​

ITextStyleInputData.fontFamily

Defined in ​

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


fontSize ​

• Optional fontSize: number

Inherited from ​

ITextStyleInputData.fontSize

Defined in ​

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


fontWeight ​

• Optional fontWeight: IFontWeight

Inherited from ​

ITextStyleInputData.fontWeight

Defined in ​

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


italic ​

• Optional italic: boolean

Inherited from ​

ITextStyleInputData.italic

Defined in ​

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


textCase ​

• Optional textCase: ITextCase

Inherited from ​

ITextStyleInputData.textCase

Defined in ​

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


textDecoration ​

• Optional textDecoration: ITextDecoration

Inherited from ​

ITextStyleInputData.textDecoration

Defined in ​

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


letterSpacing ​

• Optional letterSpacing: number | IUnitData

Inherited from ​

ITextStyleInputData.letterSpacing

Defined in ​

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


lineHeight ​

• Optional lineHeight: number | IUnitData

Inherited from ​

ITextStyleInputData.lineHeight

Defined in ​

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


paraIndent ​

• Optional paraIndent: number

Inherited from ​

ITextStyleInputData.paraIndent

Defined in ​

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


paraSpacing ​

• Optional paraSpacing: number

Inherited from ​

ITextStyleInputData.paraSpacing

Defined in ​

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


writingMode ​

• Optional writingMode: IWritingMode

Inherited from ​

ITextStyleInputData.writingMode

Defined in ​

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


textAlign ​

• Optional textAlign: ITextAlign

Inherited from ​

ITextStyleInputData.textAlign

Defined in ​

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


verticalAlign ​

• Optional verticalAlign: IVerticalAlign

Inherited from ​

ITextStyleInputData.verticalAlign

Defined in ​

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


autoSizeAlign ​

• Optional autoSizeAlign: boolean

Inherited from ​

ITextStyleInputData.autoSizeAlign

Defined in ​

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


textWrap ​

• Optional textWrap: ITextWrap

Inherited from ​

ITextStyleInputData.textWrap

Defined in ​

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


textOverflow ​

• Optional textOverflow: string

Inherited from ​

ITextStyleInputData.textOverflow

Defined in ​

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


shadow ​

• Optional shadow: string | IShadowEffect | IShadowEffect[]

Inherited from ​

IEffectInputData.shadow

Defined in ​

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


innerShadow ​

• Optional innerShadow: string | IShadowEffect | IShadowEffect[]

Inherited from ​

IEffectInputData.innerShadow

Defined in ​

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


blur ​

• Optional blur: number | IBlurEffect

Inherited from ​

IEffectInputData.blur

Defined in ​

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


backgroundBlur ​

• Optional backgroundBlur: number | IBlurEffect

Inherited from ​

IEffectInputData.backgroundBlur

Defined in ​

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


grayscale ​

• Optional grayscale: number | IGrayscaleEffect

Inherited from ​

IEffectInputData.grayscale

Defined in ​

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


animation ​

• Optional animation: IAnimation | IAnimation[]

Inherited from ​

IUIAttrData.animation

Defined in ​

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


animationOut ​

• Optional animationOut: IAnimation | IAnimation[]

Inherited from ​

IUIAttrData.animationOut

Defined in ​

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


transition ​

• Optional transition: ITransition

Inherited from ​

IUIAttrData.transition

Defined in ​

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


transitionOut ​

• Optional transitionOut: ITransition

Inherited from ​

IUIAttrData.transitionOut

Defined in ​

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


states ​

• Optional states: IStates

Inherited from ​

IUIAttrData.states

Defined in ​

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


state ​

• Optional state: string

Inherited from ​

IUIAttrData.state

Defined in ​

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


hoverStyle ​

• Optional hoverStyle: IStateStyle

Inherited from ​

IUIAttrData.hoverStyle

Defined in ​

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


pressStyle ​

• Optional pressStyle: IStateStyle

Inherited from ​

IUIAttrData.pressStyle

Defined in ​

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


focusStyle ​

• Optional focusStyle: IStateStyle

Inherited from ​

IUIAttrData.focusStyle

Defined in ​

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


selectedStyle ​

• Optional selectedStyle: IStateStyle

Inherited from ​

IUIAttrData.selectedStyle

Defined in ​

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


disabledStyle ​

• Optional disabledStyle: IStateStyle

Inherited from ​

IUIAttrData.disabledStyle

Defined in ​

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


placeholderStyle ​

• Optional placeholderStyle: IStateStyle

Inherited from ​

IUIAttrData.placeholderStyle

Defined in ​

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


children ​

• Optional children: IUIInputData[]

Overrides ​

ILeafInputData.children

Defined in ​

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

Released under the MIT License.