Skip to content

Interface: IPolygonInputData

Hierarchy

Table of contents

Properties

Properties

id

Optional id: string

Inherited from

IUIBaseInputData.id

Defined in

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


name

Optional name: string

Inherited from

IUIBaseInputData.name

Defined in

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


className

Optional className: string

Inherited from

IUIBaseInputData.className

Defined in

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


blendMode

Optional blendMode: IBlendMode

Inherited from

IUIBaseInputData.blendMode

Defined in

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


opacity

Optional opacity: number

Inherited from

IUIBaseInputData.opacity

Defined in

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


visible

Optional visible: boolean | 0

Inherited from

IUIBaseInputData.visible

Defined in

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


selected

Optional selected: boolean

Inherited from

IUIBaseInputData.selected

Defined in

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


disabled

Optional disabled: boolean

Inherited from

IUIBaseInputData.disabled

Defined in

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


locked

Optional locked: boolean

Inherited from

IUIBaseInputData.locked

Defined in

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


zIndex

Optional zIndex: number

Inherited from

IUIBaseInputData.zIndex

Defined in

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


mask

Optional mask: boolean | IMaskType

Inherited from

IUIBaseInputData.mask

Defined in

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


eraser

Optional eraser: boolean | IEraserType

Inherited from

IUIBaseInputData.eraser

Defined in

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


x

Optional x: number

Inherited from

IUIBaseInputData.x

Defined in

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


y

Optional y: number

Inherited from

IUIBaseInputData.y

Defined in

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


width

Optional width: number

Inherited from

IUIBaseInputData.width

Defined in

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


height

Optional height: number

Inherited from

IUIBaseInputData.height

Defined in

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


scaleX

Optional scaleX: number

Inherited from

IUIBaseInputData.scaleX

Defined in

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


scaleY

Optional scaleY: number

Inherited from

IUIBaseInputData.scaleY

Defined in

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


rotation

Optional rotation: number

Inherited from

IUIBaseInputData.rotation

Defined in

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


skewX

Optional skewX: number

Inherited from

IUIBaseInputData.skewX

Defined in

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


skewY

Optional skewY: number

Inherited from

IUIBaseInputData.skewY

Defined in

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


scale

Optional scale: number | IPointData

Inherited from

IUIBaseInputData.scale

Defined in

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


offsetX

Optional offsetX: number

Inherited from

IUIBaseInputData.offsetX

Defined in

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


offsetY

Optional offsetY: number

Inherited from

IUIBaseInputData.offsetY

Defined in

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


scrollX

Optional scrollX: number

Inherited from

IUIBaseInputData.scrollX

Defined in

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


scrollY

Optional scrollY: number

Inherited from

IUIBaseInputData.scrollY

Defined in

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


origin

Optional origin: IUnitPointData | IDirection

Inherited from

IUIBaseInputData.origin

Defined in

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


around

Optional around: IUnitPointData | IDirection

Inherited from

IUIBaseInputData.around

Defined in

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


lazy

Optional lazy: boolean

Inherited from

IUIBaseInputData.lazy

Defined in

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


pixelRatio

Optional pixelRatio: number

Inherited from

IUIBaseInputData.pixelRatio

Defined in

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


path

Optional path: string | IPathCommandData | IPathCommandObject[]

Inherited from

IUIBaseInputData.path

Defined in

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


windingRule

Optional windingRule: IWindingRule

Inherited from

IUIBaseInputData.windingRule

Defined in

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


closed

Optional closed: boolean

Inherited from

IUIBaseInputData.closed

Defined in

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


flow

Optional flow: IFlowType

Inherited from

IUIBaseInputData.flow

Defined in

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


padding

Optional padding: IFourNumber

Inherited from

IUIBaseInputData.padding

Defined in

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


gap

Optional gap: IGap | IPointGap

Inherited from

IUIBaseInputData.gap

Defined in

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


flowAlign

Optional flowAlign: IFlowAxisAlign | IFlowAlign

Inherited from

IUIBaseInputData.flowAlign

Defined in

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


flowWrap

Optional flowWrap: IFlowWrap

Inherited from

IUIBaseInputData.flowWrap

Defined in

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


itemBox

Optional itemBox: IFlowBoxType

Inherited from

IUIBaseInputData.itemBox

Defined in

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


inFlow

Optional inFlow: boolean

Inherited from

IUIBaseInputData.inFlow

Defined in

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


autoWidth

Optional autoWidth: IAutoSize

Inherited from

IUIBaseInputData.autoWidth

Defined in

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


autoHeight

Optional autoHeight: IAutoSize

Inherited from

IUIBaseInputData.autoHeight

Defined in

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


lockRatio

Optional lockRatio: boolean

Inherited from

IUIBaseInputData.lockRatio

Defined in

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


autoBox

Optional autoBox: IAutoBoxData | IConstraint

Inherited from

IUIBaseInputData.autoBox

Defined in

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


widthRange

Optional widthRange: IRangeSize

Inherited from

IUIBaseInputData.widthRange

Defined in

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


heightRange

Optional heightRange: IRangeSize

Inherited from

IUIBaseInputData.heightRange

Defined in

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


draggable

Optional draggable: boolean | IAxis

Inherited from

IUIBaseInputData.draggable

Defined in

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


dragBounds

Optional dragBounds: "parent" | IBoundsData

Inherited from

IUIBaseInputData.dragBounds

Defined in

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


editable

Optional editable: boolean

Inherited from

IUIBaseInputData.editable

Defined in

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


hittable

Optional hittable: boolean

Inherited from

IUIBaseInputData.hittable

Defined in

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


hitFill

Optional hitFill: IHitType

Inherited from

IUIBaseInputData.hitFill

Defined in

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


hitStroke

Optional hitStroke: IHitType

Inherited from

IUIBaseInputData.hitStroke

Defined in

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


hitBox

Optional hitBox: boolean

Inherited from

IUIBaseInputData.hitBox

Defined in

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


hitChildren

Optional hitChildren: boolean

Inherited from

IUIBaseInputData.hitChildren

Defined in

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


hitSelf

Optional hitSelf: boolean

Inherited from

IUIBaseInputData.hitSelf

Defined in

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


hitRadius

Optional hitRadius: number

Inherited from

IUIBaseInputData.hitRadius

Defined in

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


button

Optional button: boolean

Inherited from

IUIBaseInputData.button

Defined in

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


cursor

Optional cursor: ICursorType | ICursorType[]

Inherited from

IUIBaseInputData.cursor

Defined in

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


motionPath

Optional motionPath: boolean

Inherited from

IUIBaseInputData.motionPath

Defined in

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


motion

Optional motion: number | IUnitData

Inherited from

IUIBaseInputData.motion

Defined in

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


motionRotation

Optional motionRotation: number | boolean

Inherited from

IUIBaseInputData.motionRotation

Defined in

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


normalStyle

Optional normalStyle: IObject

Inherited from

IUIBaseInputData.normalStyle

Defined in

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


event

Optional event: IEventMap

Inherited from

IUIBaseInputData.event

Defined in

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


data

Optional data: IObject

Inherited from

IUIBaseInputData.data

Defined in

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


tag

Optional tag: string

Inherited from

IUIBaseInputData.tag

Defined in

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


noBounds

Optional noBounds: boolean

Inherited from

IUIBaseInputData.noBounds

Defined in

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


cornerRadius

Optional cornerRadius: string | IFourNumber

Inherited from

IUIBaseInputData.cornerRadius

Defined in

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


cornerSmoothing

Optional cornerSmoothing: number

Inherited from

IUIBaseInputData.cornerSmoothing

Defined in

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


fill

Optional fill: IFill

Inherited from

IUIBaseInputData.fill

Defined in

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


stroke

Optional stroke: IStroke

Inherited from

IUIBaseInputData.stroke

Defined in

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


strokeAlign

Optional strokeAlign: IStrokeAlign

Inherited from

IUIBaseInputData.strokeAlign

Defined in

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


strokeWidth

Optional strokeWidth: string | IFourNumber

Inherited from

IUIBaseInputData.strokeWidth

Defined in

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


strokeWidthFixed

Optional strokeWidthFixed: boolean

Inherited from

IUIBaseInputData.strokeWidthFixed

Defined in

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


strokeCap

Optional strokeCap: IStrokeCap

Inherited from

IUIBaseInputData.strokeCap

Defined in

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


strokeJoin

Optional strokeJoin: IStrokeJoin

Inherited from

IUIBaseInputData.strokeJoin

Defined in

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


dashPattern

Optional dashPattern: string | number[]

Inherited from

IUIBaseInputData.dashPattern

Defined in

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


dashOffset

Optional dashOffset: number

Inherited from

IUIBaseInputData.dashOffset

Defined in

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


miterLimit

Optional miterLimit: number

Inherited from

IUIBaseInputData.miterLimit

Defined in

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


startArrow

Optional startArrow: IArrowType

Inherited from

IUIBaseInputData.startArrow

Defined in

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


endArrow

Optional endArrow: IArrowType

Inherited from

IUIBaseInputData.endArrow

Defined in

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


fontFamily

Optional fontFamily: string

Inherited from

IUIBaseInputData.fontFamily

Defined in

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


fontSize

Optional fontSize: number

Inherited from

IUIBaseInputData.fontSize

Defined in

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


fontWeight

Optional fontWeight: IFontWeight

Inherited from

IUIBaseInputData.fontWeight

Defined in

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


italic

Optional italic: boolean

Inherited from

IUIBaseInputData.italic

Defined in

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


textCase

Optional textCase: ITextCase

Inherited from

IUIBaseInputData.textCase

Defined in

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


textDecoration

Optional textDecoration: ITextDecoration

Inherited from

IUIBaseInputData.textDecoration

Defined in

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


letterSpacing

Optional letterSpacing: number | IUnitData

Inherited from

IUIBaseInputData.letterSpacing

Defined in

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


lineHeight

Optional lineHeight: number | IUnitData

Inherited from

IUIBaseInputData.lineHeight

Defined in

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


paraIndent

Optional paraIndent: number

Inherited from

IUIBaseInputData.paraIndent

Defined in

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


paraSpacing

Optional paraSpacing: number

Inherited from

IUIBaseInputData.paraSpacing

Defined in

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


textAlign

Optional textAlign: ITextAlign

Inherited from

IUIBaseInputData.textAlign

Defined in

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


verticalAlign

Optional verticalAlign: IVerticalAlign

Inherited from

IUIBaseInputData.verticalAlign

Defined in

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


autoSizeAlign

Optional autoSizeAlign: boolean

Inherited from

IUIBaseInputData.autoSizeAlign

Defined in

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


textWrap

Optional textWrap: ITextWrap

Inherited from

IUIBaseInputData.textWrap

Defined in

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


textOverflow

Optional textOverflow: string

Inherited from

IUIBaseInputData.textOverflow

Defined in

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


shadow

Optional shadow: string | IShadowEffect | IShadowEffect[]

Inherited from

IUIBaseInputData.shadow

Defined in

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


innerShadow

Optional innerShadow: string | IShadowEffect | IShadowEffect[]

Inherited from

IUIBaseInputData.innerShadow

Defined in

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


blur

Optional blur: number | IBlurEffect

Inherited from

IUIBaseInputData.blur

Defined in

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


backgroundBlur

Optional backgroundBlur: number | IBlurEffect

Inherited from

IUIBaseInputData.backgroundBlur

Defined in

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


grayscale

Optional grayscale: number | IGrayscaleEffect

Inherited from

IUIBaseInputData.grayscale

Defined in

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


sides

Optional sides: number

Inherited from

IPolygonAttrData.sides

Defined in

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


points

Optional points: number[] | IPointData[]

Inherited from

IPolygonAttrData.points

Defined in

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


curve

Optional curve: number | boolean

Inherited from

IPolygonAttrData.curve

Defined in

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


animation

Optional animation: IAnimation

Inherited from

IUIBaseInputData.animation

Defined in

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


animationOut

Optional animationOut: IAnimation

Inherited from

IUIBaseInputData.animationOut

Defined in

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


transition

Optional transition: ITransition

Inherited from

IUIBaseInputData.transition

Defined in

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


transitionOut

Optional transitionOut: ITransition

Inherited from

IUIBaseInputData.transitionOut

Defined in

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


states

Optional states: IStates

Inherited from

IUIBaseInputData.states

Defined in

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


state

Optional state: string

Inherited from

IUIBaseInputData.state

Defined in

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


hoverStyle

Optional hoverStyle: IStateStyle

Inherited from

IUIBaseInputData.hoverStyle

Defined in

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


pressStyle

Optional pressStyle: IStateStyle

Inherited from

IUIBaseInputData.pressStyle

Defined in

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


focusStyle

Optional focusStyle: IStateStyle

Inherited from

IUIBaseInputData.focusStyle

Defined in

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


selectedStyle

Optional selectedStyle: IStateStyle

Inherited from

IUIBaseInputData.selectedStyle

Defined in

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


disabledStyle

Optional disabledStyle: IStateStyle

Inherited from

IUIBaseInputData.disabledStyle

Defined in

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


children

Optional children: IUIInputData[]

Inherited from

IUIBaseInputData.children

Defined in

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

Released under the MIT License.