Skip to content

Interface: IPenInputData

Hierarchy

Table of contents

Properties

Properties

id

Optional id: string

Inherited from

IGroupInputData.id

Defined in

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


name

Optional name: string

Inherited from

IGroupInputData.name

Defined in

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


className

Optional className: string

Inherited from

IGroupInputData.className

Defined in

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


blendMode

Optional blendMode: IBlendMode

Inherited from

IGroupInputData.blendMode

Defined in

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


opacity

Optional opacity: number

Inherited from

IGroupInputData.opacity

Defined in

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


visible

Optional visible: boolean | 0

Inherited from

IGroupInputData.visible

Defined in

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


selected

Optional selected: boolean

Inherited from

IGroupInputData.selected

Defined in

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


disabled

Optional disabled: boolean

Inherited from

IGroupInputData.disabled

Defined in

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


locked

Optional locked: boolean

Inherited from

IGroupInputData.locked

Defined in

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


zIndex

Optional zIndex: number

Inherited from

IGroupInputData.zIndex

Defined in

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


mask

Optional mask: boolean | IMaskType

Inherited from

IGroupInputData.mask

Defined in

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


eraser

Optional eraser: boolean | IEraserType

Inherited from

IGroupInputData.eraser

Defined in

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


x

Optional x: number

Inherited from

IGroupInputData.x

Defined in

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


y

Optional y: number

Inherited from

IGroupInputData.y

Defined in

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


width

Optional width: number

Inherited from

IGroupInputData.width

Defined in

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


height

Optional height: number

Inherited from

IGroupInputData.height

Defined in

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


scaleX

Optional scaleX: number

Inherited from

IGroupInputData.scaleX

Defined in

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


scaleY

Optional scaleY: number

Inherited from

IGroupInputData.scaleY

Defined in

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


rotation

Optional rotation: number

Inherited from

IGroupInputData.rotation

Defined in

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


skewX

Optional skewX: number

Inherited from

IGroupInputData.skewX

Defined in

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


skewY

Optional skewY: number

Inherited from

IGroupInputData.skewY

Defined in

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


scale

Optional scale: number | IPointData

Inherited from

IGroupInputData.scale

Defined in

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


offsetX

Optional offsetX: number

Inherited from

IGroupInputData.offsetX

Defined in

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


offsetY

Optional offsetY: number

Inherited from

IGroupInputData.offsetY

Defined in

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


scrollX

Optional scrollX: number

Inherited from

IGroupInputData.scrollX

Defined in

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


scrollY

Optional scrollY: number

Inherited from

IGroupInputData.scrollY

Defined in

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


origin

Optional origin: IUnitPointData | IDirection

Inherited from

IGroupInputData.origin

Defined in

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


around

Optional around: IUnitPointData | IDirection

Inherited from

IGroupInputData.around

Defined in

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


lazy

Optional lazy: boolean

Inherited from

IGroupInputData.lazy

Defined in

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


pixelRatio

Optional pixelRatio: number

Inherited from

IGroupInputData.pixelRatio

Defined in

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


path

Optional path: string | IPathCommandData | IPathCommandObject[]

Inherited from

IGroupInputData.path

Defined in

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


windingRule

Optional windingRule: IWindingRule

Inherited from

IGroupInputData.windingRule

Defined in

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


closed

Optional closed: boolean

Inherited from

IGroupInputData.closed

Defined in

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


flow

Optional flow: IFlowType

Inherited from

IGroupInputData.flow

Defined in

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


padding

Optional padding: IFourNumber

Inherited from

IGroupInputData.padding

Defined in

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


gap

Optional gap: IGap | IPointGap

Inherited from

IGroupInputData.gap

Defined in

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


flowAlign

Optional flowAlign: IFlowAxisAlign | IFlowAlign

Inherited from

IGroupInputData.flowAlign

Defined in

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


flowWrap

Optional flowWrap: IFlowWrap

Inherited from

IGroupInputData.flowWrap

Defined in

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


itemBox

Optional itemBox: IFlowBoxType

Inherited from

IGroupInputData.itemBox

Defined in

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


inFlow

Optional inFlow: boolean

Inherited from

IGroupInputData.inFlow

Defined in

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


autoWidth

Optional autoWidth: IAutoSize

Inherited from

IGroupInputData.autoWidth

Defined in

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


autoHeight

Optional autoHeight: IAutoSize

Inherited from

IGroupInputData.autoHeight

Defined in

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


lockRatio

Optional lockRatio: boolean

Inherited from

IGroupInputData.lockRatio

Defined in

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


autoBox

Optional autoBox: IAutoBoxData | IConstraint

Inherited from

IGroupInputData.autoBox

Defined in

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


widthRange

Optional widthRange: IRangeSize

Inherited from

IGroupInputData.widthRange

Defined in

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


heightRange

Optional heightRange: IRangeSize

Inherited from

IGroupInputData.heightRange

Defined in

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


draggable

Optional draggable: boolean | IAxis

Inherited from

IGroupInputData.draggable

Defined in

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


dragBounds

Optional dragBounds: "parent" | IBoundsData

Inherited from

IGroupInputData.dragBounds

Defined in

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


editable

Optional editable: boolean

Inherited from

IGroupInputData.editable

Defined in

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


hittable

Optional hittable: boolean

Inherited from

IGroupInputData.hittable

Defined in

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


hitFill

Optional hitFill: IHitType

Inherited from

IGroupInputData.hitFill

Defined in

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


hitStroke

Optional hitStroke: IHitType

Inherited from

IGroupInputData.hitStroke

Defined in

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


hitBox

Optional hitBox: boolean

Inherited from

IGroupInputData.hitBox

Defined in

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


hitChildren

Optional hitChildren: boolean

Inherited from

IGroupInputData.hitChildren

Defined in

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


hitSelf

Optional hitSelf: boolean

Inherited from

IGroupInputData.hitSelf

Defined in

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


hitRadius

Optional hitRadius: number

Inherited from

IGroupInputData.hitRadius

Defined in

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


button

Optional button: boolean

Inherited from

IGroupInputData.button

Defined in

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


cursor

Optional cursor: ICursorType | ICursorType[]

Inherited from

IGroupInputData.cursor

Defined in

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


motionPath

Optional motionPath: boolean

Inherited from

IGroupInputData.motionPath

Defined in

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


motionPrecision

Optional motionPrecision: number

Inherited from

IGroupInputData.motionPrecision

Defined in

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


motion

Optional motion: number | IUnitData

Inherited from

IGroupInputData.motion

Defined in

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


motionRotation

Optional motionRotation: number | boolean

Inherited from

IGroupInputData.motionRotation

Defined in

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


normalStyle

Optional normalStyle: IObject

Inherited from

IGroupInputData.normalStyle

Defined in

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


event

Optional event: IEventMap

Inherited from

IGroupInputData.event

Defined in

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


data

Optional data: IObject

Inherited from

IGroupInputData.data

Defined in

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


tag

Optional tag: string

Inherited from

IGroupInputData.tag

Defined in

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


noBounds

Optional noBounds: boolean

Inherited from

IGroupInputData.noBounds

Defined in

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


cornerRadius

Optional cornerRadius: string | IFourNumber

Inherited from

IGroupInputData.cornerRadius

Defined in

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


cornerSmoothing

Optional cornerSmoothing: number

Inherited from

IGroupInputData.cornerSmoothing

Defined in

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


fill

Optional fill: IFill

Inherited from

IGroupInputData.fill

Defined in

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


stroke

Optional stroke: IStroke

Inherited from

IGroupInputData.stroke

Defined in

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


strokeAlign

Optional strokeAlign: IStrokeAlign

Inherited from

IGroupInputData.strokeAlign

Defined in

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


strokeWidth

Optional strokeWidth: string | IFourNumber

Inherited from

IGroupInputData.strokeWidth

Defined in

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


strokeWidthFixed

Optional strokeWidthFixed: boolean

Inherited from

IGroupInputData.strokeWidthFixed

Defined in

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


strokeCap

Optional strokeCap: IStrokeCap

Inherited from

IGroupInputData.strokeCap

Defined in

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


strokeJoin

Optional strokeJoin: IStrokeJoin

Inherited from

IGroupInputData.strokeJoin

Defined in

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


dashPattern

Optional dashPattern: string | number[]

Inherited from

IGroupInputData.dashPattern

Defined in

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


dashOffset

Optional dashOffset: number

Inherited from

IGroupInputData.dashOffset

Defined in

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


miterLimit

Optional miterLimit: number

Inherited from

IGroupInputData.miterLimit

Defined in

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


startArrow

Optional startArrow: IArrowType

Inherited from

IGroupInputData.startArrow

Defined in

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


endArrow

Optional endArrow: IArrowType

Inherited from

IGroupInputData.endArrow

Defined in

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


fontFamily

Optional fontFamily: string

Inherited from

IGroupInputData.fontFamily

Defined in

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


fontSize

Optional fontSize: number

Inherited from

IGroupInputData.fontSize

Defined in

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


fontWeight

Optional fontWeight: IFontWeight

Inherited from

IGroupInputData.fontWeight

Defined in

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


italic

Optional italic: boolean

Inherited from

IGroupInputData.italic

Defined in

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


textCase

Optional textCase: ITextCase

Inherited from

IGroupInputData.textCase

Defined in

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


textDecoration

Optional textDecoration: ITextDecoration

Inherited from

IGroupInputData.textDecoration

Defined in

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


letterSpacing

Optional letterSpacing: number | IUnitData

Inherited from

IGroupInputData.letterSpacing

Defined in

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


lineHeight

Optional lineHeight: number | IUnitData

Inherited from

IGroupInputData.lineHeight

Defined in

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


paraIndent

Optional paraIndent: number

Inherited from

IGroupInputData.paraIndent

Defined in

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


paraSpacing

Optional paraSpacing: number

Inherited from

IGroupInputData.paraSpacing

Defined in

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


textAlign

Optional textAlign: ITextAlign

Inherited from

IGroupInputData.textAlign

Defined in

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


verticalAlign

Optional verticalAlign: IVerticalAlign

Inherited from

IGroupInputData.verticalAlign

Defined in

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


autoSizeAlign

Optional autoSizeAlign: boolean

Inherited from

IGroupInputData.autoSizeAlign

Defined in

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


textWrap

Optional textWrap: ITextWrap

Inherited from

IGroupInputData.textWrap

Defined in

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


textOverflow

Optional textOverflow: string

Inherited from

IGroupInputData.textOverflow

Defined in

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


shadow

Optional shadow: string | IShadowEffect | IShadowEffect[]

Inherited from

IGroupInputData.shadow

Defined in

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


innerShadow

Optional innerShadow: string | IShadowEffect | IShadowEffect[]

Inherited from

IGroupInputData.innerShadow

Defined in

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


blur

Optional blur: number | IBlurEffect

Inherited from

IGroupInputData.blur

Defined in

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


backgroundBlur

Optional backgroundBlur: number | IBlurEffect

Inherited from

IGroupInputData.backgroundBlur

Defined in

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


grayscale

Optional grayscale: number | IGrayscaleEffect

Inherited from

IGroupInputData.grayscale

Defined in

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


animation

Optional animation: IAnimation

Inherited from

IGroupInputData.animation

Defined in

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


animationOut

Optional animationOut: IAnimation

Inherited from

IGroupInputData.animationOut

Defined in

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


transition

Optional transition: ITransition

Inherited from

IGroupInputData.transition

Defined in

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


transitionOut

Optional transitionOut: ITransition

Inherited from

IGroupInputData.transitionOut

Defined in

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


states

Optional states: IStates

Inherited from

IGroupInputData.states

Defined in

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


state

Optional state: string

Inherited from

IGroupInputData.state

Defined in

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


hoverStyle

Optional hoverStyle: IStateStyle

Inherited from

IGroupInputData.hoverStyle

Defined in

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


pressStyle

Optional pressStyle: IStateStyle

Inherited from

IGroupInputData.pressStyle

Defined in

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


focusStyle

Optional focusStyle: IStateStyle

Inherited from

IGroupInputData.focusStyle

Defined in

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


selectedStyle

Optional selectedStyle: IStateStyle

Inherited from

IGroupInputData.selectedStyle

Defined in

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


disabledStyle

Optional disabledStyle: IStateStyle

Inherited from

IGroupInputData.disabledStyle

Defined in

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


children

Optional children: IUIInputData[]

Inherited from

IGroupInputData.children

Defined in

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

Released under the MIT License.