Skip to content

Interface: IRobotInputData ​

Hierarchy ​

Table of contents ​

Properties ​

Properties ​

id ​

• Optional id: string

Inherited from ​

IRectInputData.id

Defined in ​

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


name ​

• Optional name: string

Inherited from ​

IRectInputData.name

Defined in ​

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


className ​

• Optional className: string

Inherited from ​

IRectInputData.className

Defined in ​

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


blendMode ​

• Optional blendMode: IBlendMode

Inherited from ​

IRectInputData.blendMode

Defined in ​

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


opacity ​

• Optional opacity: number

Inherited from ​

IRectInputData.opacity

Defined in ​

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


visible ​

• Optional visible: boolean | 0

Inherited from ​

IRectInputData.visible

Defined in ​

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


selected ​

• Optional selected: boolean

Inherited from ​

IRectInputData.selected

Defined in ​

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


disabled ​

• Optional disabled: boolean

Inherited from ​

IRectInputData.disabled

Defined in ​

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


locked ​

• Optional locked: boolean

Inherited from ​

IRectInputData.locked

Defined in ​

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


zIndex ​

• Optional zIndex: number

Inherited from ​

IRectInputData.zIndex

Defined in ​

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


mask ​

• Optional mask: boolean | IMaskType

Inherited from ​

IRectInputData.mask

Defined in ​

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


eraser ​

• Optional eraser: boolean | IEraserType

Inherited from ​

IRectInputData.eraser

Defined in ​

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


x ​

• Optional x: number

Inherited from ​

IRectInputData.x

Defined in ​

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


y ​

• Optional y: number

Inherited from ​

IRectInputData.y

Defined in ​

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


width ​

• Optional width: number

Inherited from ​

IRectInputData.width

Defined in ​

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


height ​

• Optional height: number

Inherited from ​

IRectInputData.height

Defined in ​

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


scaleX ​

• Optional scaleX: number

Inherited from ​

IRectInputData.scaleX

Defined in ​

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


scaleY ​

• Optional scaleY: number

Inherited from ​

IRectInputData.scaleY

Defined in ​

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


rotation ​

• Optional rotation: number

Inherited from ​

IRectInputData.rotation

Defined in ​

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


skewX ​

• Optional skewX: number

Inherited from ​

IRectInputData.skewX

Defined in ​

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


skewY ​

• Optional skewY: number

Inherited from ​

IRectInputData.skewY

Defined in ​

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


scale ​

• Optional scale: number | IPointData

Inherited from ​

IRectInputData.scale

Defined in ​

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


offsetX ​

• Optional offsetX: number

Inherited from ​

IRectInputData.offsetX

Defined in ​

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


offsetY ​

• Optional offsetY: number

Inherited from ​

IRectInputData.offsetY

Defined in ​

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


scrollX ​

• Optional scrollX: number

Inherited from ​

IRectInputData.scrollX

Defined in ​

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


scrollY ​

• Optional scrollY: number

Inherited from ​

IRectInputData.scrollY

Defined in ​

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


origin ​

• Optional origin: IUnitPointData | IDirection

Inherited from ​

IRectInputData.origin

Defined in ​

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


around ​

• Optional around: IUnitPointData | IDirection

Inherited from ​

IRectInputData.around

Defined in ​

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


lazy ​

• Optional lazy: boolean

Inherited from ​

IRectInputData.lazy

Defined in ​

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


pixelRatio ​

• Optional pixelRatio: number

Inherited from ​

IRectInputData.pixelRatio

Defined in ​

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


path ​

• Optional path: string | IPathCommandData

Inherited from ​

IRectInputData.path

Defined in ​

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


windingRule ​

• Optional windingRule: IWindingRule

Inherited from ​

IRectInputData.windingRule

Defined in ​

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


closed ​

• Optional closed: boolean

Inherited from ​

IRectInputData.closed

Defined in ​

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


flow ​

• Optional flow: IFlowType

Inherited from ​

IRectInputData.flow

Defined in ​

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


padding ​

• Optional padding: IFourNumber

Inherited from ​

IRectInputData.padding

Defined in ​

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


gap ​

• Optional gap: IGap | IPointGap

Inherited from ​

IRectInputData.gap

Defined in ​

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


flowAlign ​

• Optional flowAlign: IFlowAxisAlign | IFlowAlign

Inherited from ​

IRectInputData.flowAlign

Defined in ​

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


flowWrap ​

• Optional flowWrap: IFlowWrap

Inherited from ​

IRectInputData.flowWrap

Defined in ​

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


itemBox ​

• Optional itemBox: IFlowBoxType

Inherited from ​

IRectInputData.itemBox

Defined in ​

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


inFlow ​

• Optional inFlow: boolean

Inherited from ​

IRectInputData.inFlow

Defined in ​

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


autoWidth ​

• Optional autoWidth: IAutoSize

Inherited from ​

IRectInputData.autoWidth

Defined in ​

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


autoHeight ​

• Optional autoHeight: IAutoSize

Inherited from ​

IRectInputData.autoHeight

Defined in ​

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


lockRatio ​

• Optional lockRatio: boolean

Inherited from ​

IRectInputData.lockRatio

Defined in ​

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


autoBox ​

• Optional autoBox: IAutoBoxData | IConstraint

Inherited from ​

IRectInputData.autoBox

Defined in ​

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


widthRange ​

• Optional widthRange: IRangeSize

Inherited from ​

IRectInputData.widthRange

Defined in ​

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


heightRange ​

• Optional heightRange: IRangeSize

Inherited from ​

IRectInputData.heightRange

Defined in ​

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


draggable ​

• Optional draggable: boolean | IAxis

Inherited from ​

IRectInputData.draggable

Defined in ​

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


dragBounds ​

• Optional dragBounds: "parent" | IBoundsData

Inherited from ​

IRectInputData.dragBounds

Defined in ​

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


editable ​

• Optional editable: boolean

Inherited from ​

IRectInputData.editable

Defined in ​

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


hittable ​

• Optional hittable: boolean

Inherited from ​

IRectInputData.hittable

Defined in ​

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


hitFill ​

• Optional hitFill: IHitType

Inherited from ​

IRectInputData.hitFill

Defined in ​

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


hitStroke ​

• Optional hitStroke: IHitType

Inherited from ​

IRectInputData.hitStroke

Defined in ​

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


hitBox ​

• Optional hitBox: boolean

Inherited from ​

IRectInputData.hitBox

Defined in ​

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


hitChildren ​

• Optional hitChildren: boolean

Inherited from ​

IRectInputData.hitChildren

Defined in ​

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


hitSelf ​

• Optional hitSelf: boolean

Inherited from ​

IRectInputData.hitSelf

Defined in ​

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


hitRadius ​

• Optional hitRadius: number

Inherited from ​

IRectInputData.hitRadius

Defined in ​

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


button ​

• Optional button: boolean

Inherited from ​

IRectInputData.button

Defined in ​

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


cursor ​

• Optional cursor: ICursorType | ICursorType[]

Inherited from ​

IRectInputData.cursor

Defined in ​

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


motionPath ​

• Optional motionPath: boolean

Inherited from ​

IRectInputData.motionPath

Defined in ​

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


motion ​

• Optional motion: number | IUnitData

Inherited from ​

IRectInputData.motion

Defined in ​

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


motionRotation ​

• Optional motionRotation: number | boolean

Inherited from ​

IRectInputData.motionRotation

Defined in ​

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


normalStyle ​

• Optional normalStyle: IObject

Inherited from ​

IRectInputData.normalStyle

Defined in ​

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


event ​

• Optional event: IEventMap

Inherited from ​

IRectInputData.event

Defined in ​

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


data ​

• Optional data: IObject

Inherited from ​

IRectInputData.data

Defined in ​

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


tag ​

• Optional tag: string

Inherited from ​

IRectInputData.tag

Defined in ​

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


noBounds ​

• Optional noBounds: boolean

Inherited from ​

IRectInputData.noBounds

Defined in ​

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


cornerRadius ​

• Optional cornerRadius: string | IFourNumber

Inherited from ​

IRectInputData.cornerRadius

Defined in ​

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


cornerSmoothing ​

• Optional cornerSmoothing: number

Inherited from ​

IRectInputData.cornerSmoothing

Defined in ​

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


fill ​

• Optional fill: IFill

Inherited from ​

IRectInputData.fill

Defined in ​

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


stroke ​

• Optional stroke: IStroke

Inherited from ​

IRectInputData.stroke

Defined in ​

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


strokeAlign ​

• Optional strokeAlign: IStrokeAlign

Inherited from ​

IRectInputData.strokeAlign

Defined in ​

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


strokeWidth ​

• Optional strokeWidth: string | IFourNumber

Inherited from ​

IRectInputData.strokeWidth

Defined in ​

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


strokeWidthFixed ​

• Optional strokeWidthFixed: boolean

Inherited from ​

IRectInputData.strokeWidthFixed

Defined in ​

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


strokeCap ​

• Optional strokeCap: IStrokeCap

Inherited from ​

IRectInputData.strokeCap

Defined in ​

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


strokeJoin ​

• Optional strokeJoin: IStrokeJoin

Inherited from ​

IRectInputData.strokeJoin

Defined in ​

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


dashPattern ​

• Optional dashPattern: string | number[]

Inherited from ​

IRectInputData.dashPattern

Defined in ​

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


dashOffset ​

• Optional dashOffset: number

Inherited from ​

IRectInputData.dashOffset

Defined in ​

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


miterLimit ​

• Optional miterLimit: number

Inherited from ​

IRectInputData.miterLimit

Defined in ​

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


startArrow ​

• Optional startArrow: IArrowType

Inherited from ​

IRectInputData.startArrow

Defined in ​

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


endArrow ​

• Optional endArrow: IArrowType

Inherited from ​

IRectInputData.endArrow

Defined in ​

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


fontFamily ​

• Optional fontFamily: string

Inherited from ​

IRectInputData.fontFamily

Defined in ​

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


fontSize ​

• Optional fontSize: number

Inherited from ​

IRectInputData.fontSize

Defined in ​

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


fontWeight ​

• Optional fontWeight: IFontWeight

Inherited from ​

IRectInputData.fontWeight

Defined in ​

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


italic ​

• Optional italic: boolean

Inherited from ​

IRectInputData.italic

Defined in ​

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


textCase ​

• Optional textCase: ITextCase

Inherited from ​

IRectInputData.textCase

Defined in ​

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


textDecoration ​

• Optional textDecoration: ITextDecoration

Inherited from ​

IRectInputData.textDecoration

Defined in ​

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


letterSpacing ​

• Optional letterSpacing: number | IUnitData

Inherited from ​

IRectInputData.letterSpacing

Defined in ​

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


lineHeight ​

• Optional lineHeight: number | IUnitData

Inherited from ​

IRectInputData.lineHeight

Defined in ​

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


paraIndent ​

• Optional paraIndent: number

Inherited from ​

IRectInputData.paraIndent

Defined in ​

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


paraSpacing ​

• Optional paraSpacing: number

Inherited from ​

IRectInputData.paraSpacing

Defined in ​

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


textAlign ​

• Optional textAlign: ITextAlign

Inherited from ​

IRectInputData.textAlign

Defined in ​

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


verticalAlign ​

• Optional verticalAlign: IVerticalAlign

Inherited from ​

IRectInputData.verticalAlign

Defined in ​

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


autoSizeAlign ​

• Optional autoSizeAlign: boolean

Inherited from ​

IRectInputData.autoSizeAlign

Defined in ​

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


textWrap ​

• Optional textWrap: ITextWrap

Inherited from ​

IRectInputData.textWrap

Defined in ​

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


textOverflow ​

• Optional textOverflow: string

Inherited from ​

IRectInputData.textOverflow

Defined in ​

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


shadow ​

• Optional shadow: string | IShadowEffect | IShadowEffect[]

Inherited from ​

IRectInputData.shadow

Defined in ​

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


innerShadow ​

• Optional innerShadow: string | IShadowEffect | IShadowEffect[]

Inherited from ​

IRectInputData.innerShadow

Defined in ​

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


blur ​

• Optional blur: number | IBlurEffect

Inherited from ​

IRectInputData.blur

Defined in ​

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


backgroundBlur ​

• Optional backgroundBlur: number | IBlurEffect

Inherited from ​

IRectInputData.backgroundBlur

Defined in ​

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


grayscale ​

• Optional grayscale: number | IGrayscaleEffect

Inherited from ​

IRectInputData.grayscale

Defined in ​

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


robot ​

• Optional robot: IRobotKeyframe | IRobotKeyframe[]

Inherited from ​

IRobotAttrData.robot

Defined in ​

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


actions ​

• Optional actions: IRobotActions

Inherited from ​

IRobotAttrData.actions

Defined in ​

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


action ​

• Optional action: string

Inherited from ​

IRobotAttrData.action

Defined in ​

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


now ​

• Optional now: number

Inherited from ​

IRobotAttrData.now

Defined in ​

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


FPS ​

• Optional FPS: number

Inherited from ​

IRobotAttrData.FPS

Defined in ​

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


loop ​

• Optional loop: boolean

Inherited from ​

IRobotAttrData.loop

Defined in ​

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


animation ​

• Optional animation: IAnimation

Inherited from ​

IRectInputData.animation

Defined in ​

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


animationOut ​

• Optional animationOut: IAnimation

Inherited from ​

IRectInputData.animationOut

Defined in ​

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


transition ​

• Optional transition: ITransition

Inherited from ​

IRectInputData.transition

Defined in ​

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


transitionOut ​

• Optional transitionOut: ITransition

Inherited from ​

IRectInputData.transitionOut

Defined in ​

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


states ​

• Optional states: IStates

Inherited from ​

IRectInputData.states

Defined in ​

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


state ​

• Optional state: string

Inherited from ​

IRectInputData.state

Defined in ​

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


hoverStyle ​

• Optional hoverStyle: IStateStyle

Inherited from ​

IRectInputData.hoverStyle

Defined in ​

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


pressStyle ​

• Optional pressStyle: IStateStyle

Inherited from ​

IRectInputData.pressStyle

Defined in ​

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


focusStyle ​

• Optional focusStyle: IStateStyle

Inherited from ​

IRectInputData.focusStyle

Defined in ​

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


selectedStyle ​

• Optional selectedStyle: IStateStyle

Inherited from ​

IRectInputData.selectedStyle

Defined in ​

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


disabledStyle ​

• Optional disabledStyle: IStateStyle

Inherited from ​

IRectInputData.disabledStyle

Defined in ​

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


children ​

• Optional children: IUIInputData[]

Inherited from ​

IRectInputData.children

Defined in ​

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

Released under the MIT License.