Skip to content

Interface: IUIBaseInputData

Hierarchy

Table of contents

Properties

Properties

tag

Optional tag: string

Inherited from

ILeafInputData.tag

Defined in

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


id

Optional id: string

Inherited from

ILeafInputData.id

Defined in

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


name

Optional name: string

Inherited from

ILeafInputData.name

Defined in

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


className

Optional className: string

Inherited from

ILeafInputData.className

Defined in

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


blendMode

Optional blendMode: IBlendMode

Inherited from

ILeafInputData.blendMode

Defined in

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


opacity

Optional opacity: number

Inherited from

ILeafInputData.opacity

Defined in

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


visible

Optional visible: boolean | 0

Inherited from

ILeafInputData.visible

Defined in

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


selected

Optional selected: boolean

Inherited from

ILeafInputData.selected

Defined in

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


disabled

Optional disabled: boolean

Inherited from

ILeafInputData.disabled

Defined in

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


locked

Optional locked: boolean

Inherited from

ILeafInputData.locked

Defined in

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


zIndex

Optional zIndex: number

Inherited from

ILeafInputData.zIndex

Defined in

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


mask

Optional mask: boolean | IMaskType

Inherited from

ILeafInputData.mask

Defined in

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


eraser

Optional eraser: boolean | IEraserType

Inherited from

ILeafInputData.eraser

Defined in

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


x

Optional x: number

Inherited from

ILeafInputData.x

Defined in

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


y

Optional y: number

Inherited from

ILeafInputData.y

Defined in

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


width

Optional width: number

Inherited from

ILeafInputData.width

Defined in

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


height

Optional height: number

Inherited from

ILeafInputData.height

Defined in

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


scaleX

Optional scaleX: number

Inherited from

ILeafInputData.scaleX

Defined in

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


scaleY

Optional scaleY: number

Inherited from

ILeafInputData.scaleY

Defined in

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


rotation

Optional rotation: number

Inherited from

ILeafInputData.rotation

Defined in

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


skewX

Optional skewX: number

Inherited from

ILeafInputData.skewX

Defined in

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


skewY

Optional skewY: number

Inherited from

ILeafInputData.skewY

Defined in

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


scale

Optional scale: number | IPointData

Inherited from

ILeafInputData.scale

Defined in

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


offsetX

Optional offsetX: number

Inherited from

ILeafInputData.offsetX

Defined in

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


offsetY

Optional offsetY: number

Inherited from

ILeafInputData.offsetY

Defined in

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


scrollX

Optional scrollX: number

Inherited from

ILeafInputData.scrollX

Defined in

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


scrollY

Optional scrollY: number

Inherited from

ILeafInputData.scrollY

Defined in

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


origin

Optional origin: IUnitPointData | IDirection

Inherited from

ILeafInputData.origin

Defined in

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


around

Optional around: IUnitPointData | IDirection

Inherited from

ILeafInputData.around

Defined in

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


lazy

Optional lazy: boolean

Inherited from

ILeafInputData.lazy

Defined in

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


pixelRatio

Optional pixelRatio: number

Inherited from

ILeafInputData.pixelRatio

Defined in

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


path

Optional path: string | IPathCommandData

Inherited from

ILeafInputData.path

Defined in

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


windingRule

Optional windingRule: IWindingRule

Inherited from

ILeafInputData.windingRule

Defined in

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


closed

Optional closed: boolean

Inherited from

ILeafInputData.closed

Defined in

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


flow

Optional flow: IFlowType

Inherited from

ILeafInputData.flow

Defined in

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


gap

Optional gap: IGap | IPointGap

Inherited from

ILeafInputData.gap

Defined in

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


flowAlign

Optional flowAlign: IFlowAlign | IFlowAxisAlign

Inherited from

ILeafInputData.flowAlign

Defined in

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


flowWrap

Optional flowWrap: IFlowWrap

Inherited from

ILeafInputData.flowWrap

Defined in

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


itemBox

Optional itemBox: IFlowBoxType

Inherited from

ILeafInputData.itemBox

Defined in

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


inFlow

Optional inFlow: boolean

Inherited from

ILeafInputData.inFlow

Defined in

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


autoWidth

Optional autoWidth: IAutoSize

Inherited from

ILeafInputData.autoWidth

Defined in

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


autoHeight

Optional autoHeight: IAutoSize

Inherited from

ILeafInputData.autoHeight

Defined in

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


lockRatio

Optional lockRatio: boolean

Inherited from

ILeafInputData.lockRatio

Defined in

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


autoBox

Optional autoBox: IAutoBoxData | IConstraint

Inherited from

ILeafInputData.autoBox

Defined in

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


widthRange

Optional widthRange: IRangeSize

Inherited from

ILeafInputData.widthRange

Defined in

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


heightRange

Optional heightRange: IRangeSize

Inherited from

ILeafInputData.heightRange

Defined in

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


draggable

Optional draggable: boolean | IAxis

Inherited from

ILeafInputData.draggable

Defined in

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


dragBounds

Optional dragBounds: "parent" | IBoundsData

Inherited from

ILeafInputData.dragBounds

Defined in

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


editable

Optional editable: boolean

Inherited from

ILeafInputData.editable

Defined in

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


hittable

Optional hittable: boolean

Inherited from

ILeafInputData.hittable

Defined in

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


hitFill

Optional hitFill: IHitType

Inherited from

ILeafInputData.hitFill

Defined in

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


hitStroke

Optional hitStroke: IHitType

Inherited from

ILeafInputData.hitStroke

Defined in

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


hitBox

Optional hitBox: boolean

Inherited from

ILeafInputData.hitBox

Defined in

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


hitChildren

Optional hitChildren: boolean

Inherited from

ILeafInputData.hitChildren

Defined in

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


hitSelf

Optional hitSelf: boolean

Inherited from

ILeafInputData.hitSelf

Defined in

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


hitRadius

Optional hitRadius: number

Inherited from

ILeafInputData.hitRadius

Defined in

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


cursor

Optional cursor: ICursorType | ICursorType[]

Inherited from

ILeafInputData.cursor

Defined in

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


event

Optional event: IEventMap

Inherited from

ILeafInputData.event

Defined in

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


data

Optional data: IObject

Inherited from

ILeafInputData.data

Defined in

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


noBounds

Optional noBounds: boolean

Inherited from

ILeafInputData.noBounds

Defined in

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


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:107


fontSize

Optional fontSize: number

Inherited from

ITextStyleInputData.fontSize

Defined in

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


fontWeight

Optional fontWeight: IFontWeight

Inherited from

ITextStyleInputData.fontWeight

Defined in

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


italic

Optional italic: boolean

Inherited from

ITextStyleInputData.italic

Defined in

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


textCase

Optional textCase: ITextCase

Inherited from

ITextStyleInputData.textCase

Defined in

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


textDecoration

Optional textDecoration: ITextDecoration

Inherited from

ITextStyleInputData.textDecoration

Defined in

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


letterSpacing

Optional letterSpacing: number | IUnitData

Inherited from

ITextStyleInputData.letterSpacing

Defined in

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


lineHeight

Optional lineHeight: number | IUnitData

Inherited from

ITextStyleInputData.lineHeight

Defined in

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


paraIndent

Optional paraIndent: number

Inherited from

ITextStyleInputData.paraIndent

Defined in

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


paraSpacing

Optional paraSpacing: number

Inherited from

ITextStyleInputData.paraSpacing

Defined in

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


textAlign

Optional textAlign: ITextAlign

Inherited from

ITextStyleInputData.textAlign

Defined in

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


verticalAlign

Optional verticalAlign: IVerticalAlign

Inherited from

ITextStyleInputData.verticalAlign

Defined in

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


textWrap

Optional textWrap: ITextWrap

Inherited from

ITextStyleInputData.textWrap

Defined in

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


textOverflow

Optional textOverflow: string

Inherited from

ITextStyleInputData.textOverflow

Defined in

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


shadow

Optional shadow: string | IShadowEffect | IShadowEffect[]

Inherited from

IEffectInputData.shadow

Defined in

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


innerShadow

Optional innerShadow: string | IShadowEffect | IShadowEffect[]

Inherited from

IEffectInputData.innerShadow

Defined in

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


blur

Optional blur: number | IBlurEffect

Inherited from

IEffectInputData.blur

Defined in

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


backgroundBlur

Optional backgroundBlur: number | IBlurEffect

Inherited from

IEffectInputData.backgroundBlur

Defined in

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


grayscale

Optional grayscale: number | IGrayscaleEffect

Inherited from

IEffectInputData.grayscale

Defined in

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


padding

Optional padding: number | number[]

Overrides

ILeafInputData.padding

Defined in

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


normalStyle

Optional normalStyle: IUIInputData

Overrides

ILeafInputData.normalStyle

Defined in

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


hoverStyle

Optional hoverStyle: IUIInputData

Overrides

ILeafInputData.hoverStyle

Defined in

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


pressStyle

Optional pressStyle: IUIInputData

Overrides

ILeafInputData.pressStyle

Defined in

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


focusStyle

Optional focusStyle: IUIInputData

Overrides

ILeafInputData.focusStyle

Defined in

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


selectedStyle

Optional selectedStyle: IUIInputData

Overrides

ILeafInputData.selectedStyle

Defined in

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


disabledStyle

Optional disabledStyle: IUIInputData

Overrides

ILeafInputData.disabledStyle

Defined in

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


children

Optional children: IUIInputData[]

Overrides

ILeafInputData.children

Defined in

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

Released under the MIT License.