Skip to content

Class: ScrollBar ​

Hierarchy ​

Implements ​

Table of contents ​

Constructors ​

Properties ​

Accessors ​

Methods ​

Constructors ​

constructor ​

â€ĸ new ScrollBar(target, userConfig?): ScrollBar

Parameters ​

NameType
targetIGroup
userConfig?IScrollBarConfig

Returns ​

ScrollBar

Overrides ​

Group.constructor

Defined in ​

in/packages/scroll/src/ScrollBar.ts:29

Properties ​

target ​

â€ĸ target: IGroup

Defined in ​

in/packages/scroll/src/ScrollBar.ts:9


config ​

â€ĸ config: IScrollBarConfig

Implementation of ​

IScrollBar.config

Defined in ​

in/packages/scroll/src/ScrollBar.ts:10


scrollXBar ​

â€ĸ scrollXBar: IBox

Defined in ​

in/packages/scroll/src/ScrollBar.ts:16


scrollYBar ​

â€ĸ scrollYBar: IBox

Defined in ​

in/packages/scroll/src/ScrollBar.ts:17


ratioX ​

â€ĸ ratioX: number

Defined in ​

in/packages/scroll/src/ScrollBar.ts:19


ratioY ​

â€ĸ ratioY: number

Defined in ​

in/packages/scroll/src/ScrollBar.ts:20


dragScrolling ​

â€ĸ dragScrolling: boolean

Defined in ​

in/packages/scroll/src/ScrollBar.ts:21


scrollBounds ​

â€ĸ scrollBounds: IBounds

Defined in ​

in/packages/scroll/src/ScrollBar.ts:22


__dragOut ​

â€ĸ Protected __dragOut: number | boolean

Defined in ​

in/packages/scroll/src/ScrollBar.ts:26


__eventIds ​

â€ĸ Protected __eventIds: IEventListenerId[]

Defined in ​

in/packages/scroll/src/ScrollBar.ts:27


innerId ​

â€ĸ Readonly innerId: number

Implementation of ​

IScrollBar.innerId

Inherited from ​

Group.innerId

Defined in ​

leafer/packages/display/src/Leaf.ts:30


syncEventer ​

â€ĸ Optional syncEventer: ILeaf

Implementation of ​

IScrollBar.syncEventer

Inherited from ​

Group.syncEventer

Defined in ​

leafer/packages/display/src/Leaf.ts:46


lockNormalStyle ​

â€ĸ Optional lockNormalStyle: boolean

Implementation of ​

IScrollBar.lockNormalStyle

Inherited from ​

Group.lockNormalStyle

Defined in ​

leafer/packages/display/src/Leaf.ts:47


__layout ​

â€ĸ __layout: ILeafLayout

Implementation of ​

IScrollBar.__layout

Inherited from ​

Group.__layout

Defined in ​

leafer/packages/display/src/Leaf.ts:50


__world ​

â€ĸ __world: IMatrixWithBoundsScaleData

Implementation of ​

IScrollBar.__world

Inherited from ​

Group.__world

Defined in ​

leafer/packages/display/src/Leaf.ts:52


__local ​

â€ĸ Optional __local: IMatrixWithBoundsData

Implementation of ​

IScrollBar.__local

Inherited from ​

Group.__local

Defined in ​

leafer/packages/display/src/Leaf.ts:53


__nowWorld ​

â€ĸ Optional __nowWorld: IMatrixWithBoundsScaleData

Implementation of ​

IScrollBar.__nowWorld

Inherited from ​

Group.__nowWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:55


__cameraWorld ​

â€ĸ Optional __cameraWorld: IMatrixWithBoundsScaleData

Implementation of ​

IScrollBar.__cameraWorld

Inherited from ​

Group.__cameraWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:56


__worldOpacity ​

â€ĸ __worldOpacity: number

Implementation of ​

IScrollBar.__worldOpacity

Inherited from ​

Group.__worldOpacity

Defined in ​

leafer/packages/display/src/Leaf.ts:61


__level ​

â€ĸ __level: number

Implementation of ​

IScrollBar.__level

Inherited from ​

Group.__level

Defined in ​

leafer/packages/display/src/Leaf.ts:77


__tempNumber ​

â€ĸ __tempNumber: number

Implementation of ​

IScrollBar.__tempNumber

Inherited from ​

Group.__tempNumber

Defined in ​

leafer/packages/display/src/Leaf.ts:78


__hasAutoLayout ​

â€ĸ Optional __hasAutoLayout: boolean

Implementation of ​

IScrollBar.__hasAutoLayout

Inherited from ​

Group.__hasAutoLayout

Defined in ​

leafer/packages/display/src/Leaf.ts:82


__hasMask ​

â€ĸ Optional __hasMask: boolean

Implementation of ​

IScrollBar.__hasMask

Inherited from ​

Group.__hasMask

Defined in ​

leafer/packages/display/src/Leaf.ts:83


__hasEraser ​

â€ĸ Optional __hasEraser: boolean

Implementation of ​

IScrollBar.__hasEraser

Inherited from ​

Group.__hasEraser

Defined in ​

leafer/packages/display/src/Leaf.ts:84


__hitCanvas ​

â€ĸ Optional __hitCanvas: IHitCanvas

Implementation of ​

IScrollBar.__hitCanvas

Inherited from ​

Group.__hitCanvas

Defined in ​

leafer/packages/display/src/Leaf.ts:85


__captureMap ​

â€ĸ Optional __captureMap: IEventListenerMap

Implementation of ​

IScrollBar.__captureMap

Inherited from ​

Group.__captureMap

Defined in ​

leafer/packages/display/src/Leaf.ts:96


__bubbleMap ​

â€ĸ Optional __bubbleMap: IEventListenerMap

Implementation of ​

IScrollBar.__bubbleMap

Inherited from ​

Group.__bubbleMap

Defined in ​

leafer/packages/display/src/Leaf.ts:97


noBounds ​

â€ĸ Optional noBounds: boolean

Implementation of ​

IScrollBar.noBounds

Inherited from ​

Group.noBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:103


destroyed ​

â€ĸ destroyed: boolean

Implementation of ​

IScrollBar.destroyed

Inherited from ​

Group.destroyed

Defined in ​

leafer/packages/display/src/Leaf.ts:105


__ ​

â€ĸ __: IGroupData

Implementation of ​

IScrollBar.__

Inherited from ​

Group.__

Defined in ​

ui/packages/display/src/Group.ts:19


children ​

â€ĸ children: IUI[]

Implementation of ​

IScrollBar.children

Inherited from ​

Group.children

Defined in ​

ui/packages/display/src/Group.ts:21


proxyData ​

â€ĸ Optional proxyData: IUIInputData

Implementation of ​

IScrollBar.proxyData

Inherited from ​

Group.proxyData

Defined in ​

ui/packages/display/src/UI.ts:21


__proxyData ​

â€ĸ Optional __proxyData: IUIInputData

Implementation of ​

IScrollBar.__proxyData

Inherited from ​

Group.__proxyData

Defined in ​

ui/packages/display/src/UI.ts:22


leafer ​

â€ĸ Optional leafer: ILeafer

Implementation of ​

IScrollBar.leafer

Inherited from ​

Group.leafer

Defined in ​

ui/packages/display/src/UI.ts:26


parent ​

â€ĸ Optional parent: IGroup

Implementation of ​

IScrollBar.parent

Inherited from ​

Group.parent

Defined in ​

ui/packages/display/src/UI.ts:27


zoomLayer ​

â€ĸ zoomLayer: IGroup

Implementation of ​

IScrollBar.zoomLayer

Inherited from ​

Group.zoomLayer

Defined in ​

ui/packages/display/src/UI.ts:30


id ​

â€ĸ Optional id: string

Implementation of ​

IScrollBar.id

Inherited from ​

Group.id

Defined in ​

ui/packages/display/src/UI.ts:40


name ​

â€ĸ Optional name: string

Implementation of ​

IScrollBar.name

Inherited from ​

Group.name

Defined in ​

ui/packages/display/src/UI.ts:43


className ​

â€ĸ Optional className: string

Implementation of ​

IScrollBar.className

Inherited from ​

Group.className

Defined in ​

ui/packages/display/src/UI.ts:46


blendMode ​

â€ĸ Optional blendMode: IBlendMode

Implementation of ​

IScrollBar.blendMode

Inherited from ​

Group.blendMode

Defined in ​

ui/packages/display/src/UI.ts:51


opacity ​

â€ĸ Optional opacity: number

Implementation of ​

IScrollBar.opacity

Inherited from ​

Group.opacity

Defined in ​

ui/packages/display/src/UI.ts:54


visible ​

â€ĸ Optional visible: boolean | 0

Implementation of ​

IScrollBar.visible

Inherited from ​

Group.visible

Defined in ​

ui/packages/display/src/UI.ts:57


locked ​

â€ĸ Optional locked: boolean

Implementation of ​

IScrollBar.locked

Inherited from ​

Group.locked

Defined in ​

ui/packages/display/src/UI.ts:61


zIndex ​

â€ĸ Optional zIndex: number

Implementation of ​

IScrollBar.zIndex

Inherited from ​

Group.zIndex

Defined in ​

ui/packages/display/src/UI.ts:65


mask ​

â€ĸ Optional mask: boolean | IMaskType

Implementation of ​

IScrollBar.mask

Inherited from ​

Group.mask

Defined in ​

ui/packages/display/src/UI.ts:69


eraser ​

â€ĸ Optional eraser: boolean | IEraserType

Implementation of ​

IScrollBar.eraser

Inherited from ​

Group.eraser

Defined in ​

ui/packages/display/src/UI.ts:72


x ​

â€ĸ Optional x: number

Implementation of ​

IScrollBar.x

Inherited from ​

Group.x

Defined in ​

ui/packages/display/src/UI.ts:77


y ​

â€ĸ Optional y: number

Implementation of ​

IScrollBar.y

Inherited from ​

Group.y

Defined in ​

ui/packages/display/src/UI.ts:80


width ​

â€ĸ Optional width: number

Implementation of ​

IScrollBar.width

Inherited from ​

Group.width

Defined in ​

ui/packages/display/src/UI.ts:84


height ​

â€ĸ Optional height: number

Implementation of ​

IScrollBar.height

Inherited from ​

Group.height

Defined in ​

ui/packages/display/src/UI.ts:87


scaleX ​

â€ĸ Optional scaleX: number

Implementation of ​

IScrollBar.scaleX

Inherited from ​

Group.scaleX

Defined in ​

ui/packages/display/src/UI.ts:91


scaleY ​

â€ĸ Optional scaleY: number

Implementation of ​

IScrollBar.scaleY

Inherited from ​

Group.scaleY

Defined in ​

ui/packages/display/src/UI.ts:94


rotation ​

â€ĸ Optional rotation: number

Implementation of ​

IScrollBar.rotation

Inherited from ​

Group.rotation

Defined in ​

ui/packages/display/src/UI.ts:98


skewX ​

â€ĸ Optional skewX: number

Implementation of ​

IScrollBar.skewX

Inherited from ​

Group.skewX

Defined in ​

ui/packages/display/src/UI.ts:102


skewY ​

â€ĸ Optional skewY: number

Implementation of ​

IScrollBar.skewY

Inherited from ​

Group.skewY

Defined in ​

ui/packages/display/src/UI.ts:105


offsetX ​

â€ĸ Optional offsetX: number

Implementation of ​

IScrollBar.offsetX

Inherited from ​

Group.offsetX

Defined in ​

ui/packages/display/src/UI.ts:110


offsetY ​

â€ĸ Optional offsetY: number

Implementation of ​

IScrollBar.offsetY

Inherited from ​

Group.offsetY

Defined in ​

ui/packages/display/src/UI.ts:113


scrollX ​

â€ĸ Optional scrollX: number

Implementation of ​

IScrollBar.scrollX

Inherited from ​

Group.scrollX

Defined in ​

ui/packages/display/src/UI.ts:117


scrollY ​

â€ĸ Optional scrollY: number

Implementation of ​

IScrollBar.scrollY

Inherited from ​

Group.scrollY

Defined in ​

ui/packages/display/src/UI.ts:120


origin ​

â€ĸ Optional origin: IUnitPointData | IDirection

Implementation of ​

IScrollBar.origin

Inherited from ​

Group.origin

Defined in ​

ui/packages/display/src/UI.ts:125


around ​

â€ĸ Optional around: IUnitPointData | IDirection

Implementation of ​

IScrollBar.around

Inherited from ​

Group.around

Defined in ​

ui/packages/display/src/UI.ts:128


lazy ​

â€ĸ Optional lazy: boolean

Implementation of ​

IScrollBar.lazy

Inherited from ​

Group.lazy

Defined in ​

ui/packages/display/src/UI.ts:133


pixelRatio ​

â€ĸ Optional pixelRatio: number

Implementation of ​

IScrollBar.pixelRatio

Inherited from ​

Group.pixelRatio

Defined in ​

ui/packages/display/src/UI.ts:136


path ​

â€ĸ Optional path: string | IPathCommandData | IPathCommandObject[]

Implementation of ​

IScrollBar.path

Inherited from ​

Group.path

Defined in ​

ui/packages/display/src/UI.ts:141


windingRule ​

â€ĸ Optional windingRule: IWindingRule

Implementation of ​

IScrollBar.windingRule

Inherited from ​

Group.windingRule

Defined in ​

ui/packages/display/src/UI.ts:144


closed ​

â€ĸ Optional closed: boolean

Implementation of ​

IScrollBar.closed

Inherited from ​

Group.closed

Defined in ​

ui/packages/display/src/UI.ts:147


flow ​

â€ĸ Optional flow: IFlowType

Implementation of ​

IScrollBar.flow

Inherited from ​

Group.flow

Defined in ​

ui/packages/display/src/UI.ts:151


padding ​

â€ĸ Optional padding: IFourNumber

Implementation of ​

IScrollBar.padding

Inherited from ​

Group.padding

Defined in ​

ui/packages/display/src/UI.ts:154


gap ​

â€ĸ Optional gap: IGap | IPointGap

Implementation of ​

IScrollBar.gap

Inherited from ​

Group.gap

Defined in ​

ui/packages/display/src/UI.ts:156


flowAlign ​

â€ĸ Optional flowAlign: IFlowAxisAlign | IFlowAlign

Implementation of ​

IScrollBar.flowAlign

Inherited from ​

Group.flowAlign

Defined in ​

ui/packages/display/src/UI.ts:158


flowWrap ​

â€ĸ Optional flowWrap: IFlowWrap

Implementation of ​

IScrollBar.flowWrap

Inherited from ​

Group.flowWrap

Defined in ​

ui/packages/display/src/UI.ts:160


itemBox ​

â€ĸ Optional itemBox: IFlowBoxType

Implementation of ​

IScrollBar.itemBox

Inherited from ​

Group.itemBox

Defined in ​

ui/packages/display/src/UI.ts:163


inFlow ​

â€ĸ Optional inFlow: boolean

Implementation of ​

IScrollBar.inFlow

Inherited from ​

Group.inFlow

Defined in ​

ui/packages/display/src/UI.ts:165


autoWidth ​

â€ĸ Optional autoWidth: IAutoSize

Implementation of ​

IScrollBar.autoWidth

Inherited from ​

Group.autoWidth

Defined in ​

ui/packages/display/src/UI.ts:168


autoHeight ​

â€ĸ Optional autoHeight: IAutoSize

Implementation of ​

IScrollBar.autoHeight

Inherited from ​

Group.autoHeight

Defined in ​

ui/packages/display/src/UI.ts:170


lockRatio ​

â€ĸ Optional lockRatio: boolean

Implementation of ​

IScrollBar.lockRatio

Inherited from ​

Group.lockRatio

Defined in ​

ui/packages/display/src/UI.ts:173


autoBox ​

â€ĸ Optional autoBox: IAutoBoxData | IConstraint

Implementation of ​

IScrollBar.autoBox

Inherited from ​

Group.autoBox

Defined in ​

ui/packages/display/src/UI.ts:175


widthRange ​

â€ĸ Optional widthRange: IRangeSize

Implementation of ​

IScrollBar.widthRange

Inherited from ​

Group.widthRange

Defined in ​

ui/packages/display/src/UI.ts:178


heightRange ​

â€ĸ Optional heightRange: IRangeSize

Implementation of ​

IScrollBar.heightRange

Inherited from ​

Group.heightRange

Defined in ​

ui/packages/display/src/UI.ts:181


draggable ​

â€ĸ Optional draggable: boolean | IAxis

Implementation of ​

IScrollBar.draggable

Inherited from ​

Group.draggable

Defined in ​

ui/packages/display/src/UI.ts:186


dragBounds ​

â€ĸ Optional dragBounds: "parent" | IBoundsData

Implementation of ​

IScrollBar.dragBounds

Inherited from ​

Group.dragBounds

Defined in ​

ui/packages/display/src/UI.ts:189


editable ​

â€ĸ Optional editable: boolean

Implementation of ​

IScrollBar.editable

Inherited from ​

Group.editable

Defined in ​

ui/packages/display/src/UI.ts:193


hittable ​

â€ĸ Optional hittable: boolean

Implementation of ​

IScrollBar.hittable

Inherited from ​

Group.hittable

Defined in ​

ui/packages/display/src/UI.ts:198


hitFill ​

â€ĸ Optional hitFill: IHitType

Implementation of ​

IScrollBar.hitFill

Inherited from ​

Group.hitFill

Defined in ​

ui/packages/display/src/UI.ts:201


hitStroke ​

â€ĸ Optional hitStroke: IHitType

Implementation of ​

IScrollBar.hitStroke

Inherited from ​

Group.hitStroke

Defined in ​

ui/packages/display/src/UI.ts:204


hitBox ​

â€ĸ Optional hitBox: boolean

Implementation of ​

IScrollBar.hitBox

Inherited from ​

Group.hitBox

Defined in ​

ui/packages/display/src/UI.ts:207


hitChildren ​

â€ĸ Optional hitChildren: boolean

Implementation of ​

IScrollBar.hitChildren

Inherited from ​

Group.hitChildren

Defined in ​

ui/packages/display/src/UI.ts:210


hitSelf ​

â€ĸ Optional hitSelf: boolean

Implementation of ​

IScrollBar.hitSelf

Inherited from ​

Group.hitSelf

Defined in ​

ui/packages/display/src/UI.ts:213


hitRadius ​

â€ĸ Optional hitRadius: number

Implementation of ​

IScrollBar.hitRadius

Inherited from ​

Group.hitRadius

Defined in ​

ui/packages/display/src/UI.ts:216


cursor ​

â€ĸ Optional cursor: ICursorType | ICursorType[]

Implementation of ​

IScrollBar.cursor

Inherited from ​

Group.cursor

Defined in ​

ui/packages/display/src/UI.ts:219


fill ​

â€ĸ Optional fill: IFill

Implementation of ​

IScrollBar.fill

Inherited from ​

Group.fill

Defined in ​

ui/packages/display/src/UI.ts:227


stroke ​

â€ĸ Optional stroke: IStroke

Implementation of ​

IScrollBar.stroke

Inherited from ​

Group.stroke

Defined in ​

ui/packages/display/src/UI.ts:232


strokeAlign ​

â€ĸ Optional strokeAlign: IStrokeAlign

Implementation of ​

IScrollBar.strokeAlign

Inherited from ​

Group.strokeAlign

Defined in ​

ui/packages/display/src/UI.ts:235


strokeWidth ​

â€ĸ Optional strokeWidth: string | IFourNumber

Implementation of ​

IScrollBar.strokeWidth

Inherited from ​

Group.strokeWidth

Defined in ​

ui/packages/display/src/UI.ts:238


strokeWidthFixed ​

â€ĸ Optional strokeWidthFixed: boolean

Implementation of ​

IScrollBar.strokeWidthFixed

Inherited from ​

Group.strokeWidthFixed

Defined in ​

ui/packages/display/src/UI.ts:241


strokeCap ​

â€ĸ Optional strokeCap: IStrokeCap

Implementation of ​

IScrollBar.strokeCap

Inherited from ​

Group.strokeCap

Defined in ​

ui/packages/display/src/UI.ts:244


strokeJoin ​

â€ĸ Optional strokeJoin: IStrokeJoin

Implementation of ​

IScrollBar.strokeJoin

Inherited from ​

Group.strokeJoin

Defined in ​

ui/packages/display/src/UI.ts:247


dashPattern ​

â€ĸ Optional dashPattern: string | number[]

Implementation of ​

IScrollBar.dashPattern

Inherited from ​

Group.dashPattern

Defined in ​

ui/packages/display/src/UI.ts:250


dashOffset ​

â€ĸ Optional dashOffset: number

Implementation of ​

IScrollBar.dashOffset

Inherited from ​

Group.dashOffset

Defined in ​

ui/packages/display/src/UI.ts:253


miterLimit ​

â€ĸ Optional miterLimit: number

Implementation of ​

IScrollBar.miterLimit

Inherited from ​

Group.miterLimit

Defined in ​

ui/packages/display/src/UI.ts:256


startArrow ​

â€ĸ Optional startArrow: IArrowType

Implementation of ​

IScrollBar.startArrow

Inherited from ​

Group.startArrow

Defined in ​

ui/packages/display/src/UI.ts:261


endArrow ​

â€ĸ Optional endArrow: IArrowType

Implementation of ​

IScrollBar.endArrow

Inherited from ​

Group.endArrow

Defined in ​

ui/packages/display/src/UI.ts:263


cornerRadius ​

â€ĸ Optional cornerRadius: string | IFourNumber

Implementation of ​

IScrollBar.cornerRadius

Inherited from ​

Group.cornerRadius

Defined in ​

ui/packages/display/src/UI.ts:268


cornerSmoothing ​

â€ĸ Optional cornerSmoothing: number

Implementation of ​

IScrollBar.cornerSmoothing

Inherited from ​

Group.cornerSmoothing

Defined in ​

ui/packages/display/src/UI.ts:271


shadow ​

â€ĸ Optional shadow: string | IShadowEffect | IShadowEffect[]

Implementation of ​

IScrollBar.shadow

Inherited from ​

Group.shadow

Defined in ​

ui/packages/display/src/UI.ts:276


innerShadow ​

â€ĸ Optional innerShadow: string | IShadowEffect | IShadowEffect[]

Implementation of ​

IScrollBar.innerShadow

Inherited from ​

Group.innerShadow

Defined in ​

ui/packages/display/src/UI.ts:279


blur ​

â€ĸ Optional blur: number | IBlurEffect

Implementation of ​

IScrollBar.blur

Inherited from ​

Group.blur

Defined in ​

ui/packages/display/src/UI.ts:282


backgroundBlur ​

â€ĸ Optional backgroundBlur: number | IBlurEffect

Implementation of ​

IScrollBar.backgroundBlur

Inherited from ​

Group.backgroundBlur

Defined in ​

ui/packages/display/src/UI.ts:285


grayscale ​

â€ĸ Optional grayscale: number | IGrayscaleEffect

Implementation of ​

IScrollBar.grayscale

Inherited from ​

Group.grayscale

Defined in ​

ui/packages/display/src/UI.ts:288


filter ​

â€ĸ Optional filter: IObject | IObject[]

Inherited from ​

Group.filter

Defined in ​

ui/packages/display/src/UI.ts:290


animation ​

â€ĸ Optional animation: IAnimation

Implementation of ​

IScrollBar.animation

Inherited from ​

Group.animation

Defined in ​

ui/packages/display/src/UI.ts:295


animationOut ​

â€ĸ Optional animationOut: IAnimation

Implementation of ​

IScrollBar.animationOut

Inherited from ​

Group.animationOut

Defined in ​

ui/packages/display/src/UI.ts:297


transition ​

â€ĸ Optional transition: ITransition

Implementation of ​

IScrollBar.transition

Inherited from ​

Group.transition

Defined in ​

ui/packages/display/src/UI.ts:300


transitionOut ​

â€ĸ Optional transitionOut: ITransition

Implementation of ​

IScrollBar.transitionOut

Inherited from ​

Group.transitionOut

Defined in ​

ui/packages/display/src/UI.ts:302


motionPath ​

â€ĸ Optional motionPath: boolean

Implementation of ​

IScrollBar.motionPath

Inherited from ​

Group.motionPath

Defined in ​

ui/packages/display/src/UI.ts:307


motionPrecision ​

â€ĸ Optional motionPrecision: number

Implementation of ​

IScrollBar.motionPrecision

Inherited from ​

Group.motionPrecision

Defined in ​

ui/packages/display/src/UI.ts:309


motion ​

â€ĸ Optional motion: number | IUnitData

Implementation of ​

IScrollBar.motion

Inherited from ​

Group.motion

Defined in ​

ui/packages/display/src/UI.ts:312


motionRotation ​

â€ĸ Optional motionRotation: number | boolean

Implementation of ​

IScrollBar.motionRotation

Inherited from ​

Group.motionRotation

Defined in ​

ui/packages/display/src/UI.ts:314


states ​

â€ĸ Optional states: IStates

Implementation of ​

IScrollBar.states

Inherited from ​

Group.states

Defined in ​

ui/packages/display/src/UI.ts:319


state ​

â€ĸ Optional state: string

Implementation of ​

IScrollBar.state

Inherited from ​

Group.state

Defined in ​

ui/packages/display/src/UI.ts:321


selected ​

â€ĸ Optional selected: boolean

Implementation of ​

IScrollBar.selected

Inherited from ​

Group.selected

Defined in ​

ui/packages/display/src/UI.ts:324


disabled ​

â€ĸ Optional disabled: boolean

Implementation of ​

IScrollBar.disabled

Inherited from ​

Group.disabled

Defined in ​

ui/packages/display/src/UI.ts:326


normalStyle ​

â€ĸ Optional normalStyle: IUIInputData

Implementation of ​

IScrollBar.normalStyle

Inherited from ​

Group.normalStyle

Defined in ​

ui/packages/display/src/UI.ts:329


hoverStyle ​

â€ĸ Optional hoverStyle: IUIInputData

Implementation of ​

IScrollBar.hoverStyle

Inherited from ​

Group.hoverStyle

Defined in ​

ui/packages/display/src/UI.ts:331


pressStyle ​

â€ĸ Optional pressStyle: IUIInputData

Implementation of ​

IScrollBar.pressStyle

Inherited from ​

Group.pressStyle

Defined in ​

ui/packages/display/src/UI.ts:333


focusStyle ​

â€ĸ Optional focusStyle: IUIInputData

Implementation of ​

IScrollBar.focusStyle

Inherited from ​

Group.focusStyle

Defined in ​

ui/packages/display/src/UI.ts:335


selectedStyle ​

â€ĸ Optional selectedStyle: IUIInputData

Implementation of ​

IScrollBar.selectedStyle

Inherited from ​

Group.selectedStyle

Defined in ​

ui/packages/display/src/UI.ts:337


disabledStyle ​

â€ĸ Optional disabledStyle: IUIInputData

Implementation of ​

IScrollBar.disabledStyle

Inherited from ​

Group.disabledStyle

Defined in ​

ui/packages/display/src/UI.ts:339


button ​

â€ĸ Optional button: boolean

Implementation of ​

IScrollBar.button

Inherited from ​

Group.button

Defined in ​

ui/packages/display/src/UI.ts:342


data ​

â€ĸ data: IObject

Implementation of ​

IScrollBar.data

Inherited from ​

Group.data

Defined in ​

ui/packages/display/src/UI.ts:347


__animate ​

â€ĸ Optional __animate: IAnimate

Implementation of ​

IScrollBar.__animate

Inherited from ​

Group.__animate

Defined in ​

ui/packages/display/src/UI.ts:353

Accessors ​

isOutside ​

â€ĸ get isOutside(): boolean

Returns ​

boolean

Implementation of ​

IScrollBar.isOutside

Defined in ​

in/packages/scroll/src/ScrollBar.ts:24


tag ​

â€ĸ get tag(): string

Returns ​

string

Implementation of ​

IScrollBar.tag

Inherited from ​

Group.tag

Defined in ​

leafer/packages/display/src/Leaf.ts:25

â€ĸ set tag(_value): void

Parameters ​

NameType
_valuestring

Returns ​

void

Implementation of ​

IScrollBar.tag

Inherited from ​

Group.tag

Defined in ​

leafer/packages/display/src/Leaf.ts:26


innerName ​

â€ĸ get innerName(): string

Returns ​

string

Implementation of ​

IScrollBar.innerName

Inherited from ​

Group.innerName

Defined in ​

leafer/packages/display/src/Leaf.ts:31


__DataProcessor ​

â€ĸ get __DataProcessor(): typeof LeafData

Returns ​

typeof LeafData

Implementation of ​

IScrollBar.__DataProcessor

Inherited from ​

Group.__DataProcessor

Defined in ​

leafer/packages/display/src/Leaf.ts:33


__LayoutProcessor ​

â€ĸ get __LayoutProcessor(): typeof LeafLayout

Returns ​

typeof LeafLayout

Implementation of ​

IScrollBar.__LayoutProcessor

Inherited from ​

Group.__LayoutProcessor

Defined in ​

leafer/packages/display/src/Leaf.ts:34


leaferIsCreated ​

â€ĸ get leaferIsCreated(): boolean

Returns ​

boolean

Implementation of ​

IScrollBar.leaferIsCreated

Inherited from ​

Group.leaferIsCreated

Defined in ​

leafer/packages/display/src/Leaf.ts:39


leaferIsReady ​

â€ĸ get leaferIsReady(): boolean

Returns ​

boolean

Implementation of ​

IScrollBar.leaferIsReady

Inherited from ​

Group.leaferIsReady

Defined in ​

leafer/packages/display/src/Leaf.ts:40


isLeafer ​

â€ĸ get isLeafer(): boolean

Returns ​

boolean

Implementation of ​

IScrollBar.isLeafer

Inherited from ​

Group.isLeafer

Defined in ​

leafer/packages/display/src/Leaf.ts:42


isBranchLeaf ​

â€ĸ get isBranchLeaf(): boolean

Returns ​

boolean

Implementation of ​

IScrollBar.isBranchLeaf

Inherited from ​

Group.isBranchLeaf

Defined in ​

leafer/packages/display/src/Leaf.ts:44


__localMatrix ​

â€ĸ get __localMatrix(): IMatrixData

Returns ​

IMatrixData

Implementation of ​

IScrollBar.__localMatrix

Inherited from ​

Group.__localMatrix

Defined in ​

leafer/packages/display/src/Leaf.ts:58


__localBoxBounds ​

â€ĸ get __localBoxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IScrollBar.__localBoxBounds

Inherited from ​

Group.__localBoxBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:59


worldTransform ​

â€ĸ get worldTransform(): IMatrixWithScaleData

Returns ​

IMatrixWithScaleData

Implementation of ​

IScrollBar.worldTransform

Inherited from ​

Group.worldTransform

Defined in ​

leafer/packages/display/src/Leaf.ts:64


localTransform ​

â€ĸ get localTransform(): IMatrixData

Returns ​

IMatrixData

Implementation of ​

IScrollBar.localTransform

Inherited from ​

Group.localTransform

Defined in ​

leafer/packages/display/src/Leaf.ts:65


boxBounds ​

â€ĸ get boxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IScrollBar.boxBounds

Inherited from ​

Group.boxBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:68


renderBounds ​

â€ĸ get renderBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IScrollBar.renderBounds

Inherited from ​

Group.renderBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:69


worldBoxBounds ​

â€ĸ get worldBoxBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IScrollBar.worldBoxBounds

Inherited from ​

Group.worldBoxBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:70


worldStrokeBounds ​

â€ĸ get worldStrokeBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IScrollBar.worldStrokeBounds

Inherited from ​

Group.worldStrokeBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:71


worldRenderBounds ​

â€ĸ get worldRenderBounds(): IBoundsData

Returns ​

IBoundsData

Implementation of ​

IScrollBar.worldRenderBounds

Inherited from ​

Group.worldRenderBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:72


worldOpacity ​

â€ĸ get worldOpacity(): number

Returns ​

number

Implementation of ​

IScrollBar.worldOpacity

Inherited from ​

Group.worldOpacity

Defined in ​

leafer/packages/display/src/Leaf.ts:75


__worldFlipped ​

â€ĸ get __worldFlipped(): boolean

Returns ​

boolean

Implementation of ​

IScrollBar.__worldFlipped

Inherited from ​

Group.__worldFlipped

Defined in ​

leafer/packages/display/src/Leaf.ts:80


__onlyHitMask ​

â€ĸ get __onlyHitMask(): boolean

Returns ​

boolean

Implementation of ​

IScrollBar.__onlyHitMask

Inherited from ​

Group.__onlyHitMask

Defined in ​

leafer/packages/display/src/Leaf.ts:87


__ignoreHitWorld ​

â€ĸ get __ignoreHitWorld(): boolean

Returns ​

boolean

Implementation of ​

IScrollBar.__ignoreHitWorld

Inherited from ​

Group.__ignoreHitWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:88


__inLazyBounds ​

â€ĸ get __inLazyBounds(): boolean

Returns ​

boolean

Implementation of ​

IScrollBar.__inLazyBounds

Inherited from ​

Group.__inLazyBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:89


pathInputed ​

â€ĸ get pathInputed(): boolean

Returns ​

boolean

Implementation of ​

IScrollBar.pathInputed

Inherited from ​

Group.pathInputed

Defined in ​

leafer/packages/display/src/Leaf.ts:91


event ​

â€ĸ set event(map): void

Parameters ​

NameType
mapIEventMap

Returns ​

void

Implementation of ​

IScrollBar.event

Inherited from ​

Group.event

Defined in ​

leafer/packages/display/src/Leaf.ts:94


__tag ​

â€ĸ get __tag(): string

Returns ​

string

Implementation of ​

IScrollBar.__tag

Inherited from ​

Group.__tag

Defined in ​

ui/packages/display/src/Group.ts:14


isBranch ​

â€ĸ get isBranch(): boolean

Returns ​

boolean

Implementation of ​

IScrollBar.isBranch

Inherited from ​

Group.isBranch

Defined in ​

ui/packages/display/src/Group.ts:16


app ​

â€ĸ get app(): ILeafer

Returns ​

ILeafer

Implementation of ​

IScrollBar.app

Inherited from ​

Group.app

Defined in ​

ui/packages/display/src/UI.ts:24


isFrame ​

â€ĸ get isFrame(): boolean

Returns ​

boolean

Implementation of ​

IScrollBar.isFrame

Inherited from ​

Group.isFrame

Defined in ​

ui/packages/display/src/UI.ts:32


scale ​

â€ĸ get scale(): number | IPointData

Returns ​

number | IPointData

Implementation of ​

IScrollBar.scale

Inherited from ​

Group.scale

Defined in ​

ui/packages/display/src/UI.ts:351

â€ĸ set scale(value): void

Parameters ​

NameType
valuenumber | IPointData

Returns ​

void

Implementation of ​

IScrollBar.scale

Inherited from ​

Group.scale

Defined in ​

ui/packages/display/src/UI.ts:350


pen ​

â€ĸ get pen(): IPathCreator

Returns ​

IPathCreator

Implementation of ​

IScrollBar.pen

Inherited from ​

Group.pen

Defined in ​

ui/packages/display/src/UI.ts:355


editConfig ​

â€ĸ get editConfig(): IEditorConfig

Returns ​

IEditorConfig

Implementation of ​

IScrollBar.editConfig

Inherited from ​

Group.editConfig

Defined in ​

ui/packages/display/src/UI.ts:365


editOuter ​

â€ĸ get editOuter(): string

Returns ​

string

Implementation of ​

IScrollBar.editOuter

Inherited from ​

Group.editOuter

Defined in ​

ui/packages/display/src/UI.ts:367


editInner ​

â€ĸ get editInner(): string

Returns ​

string

Implementation of ​

IScrollBar.editInner

Inherited from ​

Group.editInner

Defined in ​

ui/packages/display/src/UI.ts:369

Methods ​

changeTheme ​

▸ changeTheme(theme): void

Parameters ​

NameType
themeIScrollBarTheme

Returns ​

void

Implementation of ​

IScrollBar.changeTheme

Defined in ​

in/packages/scroll/src/ScrollBar.ts:41


update ​

▸ update(check?): void

Parameters ​

NameType
check?boolean

Returns ​

void

Implementation of ​

IScrollBar.update

Defined in ​

in/packages/scroll/src/ScrollBar.ts:64


onDrag ​

▸ onDrag(e): void

Parameters ​

NameType
eDragEvent

Returns ​

void

Defined in ​

in/packages/scroll/src/ScrollBar.ts:102


onDragEnd ​

▸ onDragEnd(): void

Returns ​

void

Defined in ​

in/packages/scroll/src/ScrollBar.ts:113


__listenEvents ​

▸ __listenEvents(): void

Returns ​

void

Defined in ​

in/packages/scroll/src/ScrollBar.ts:118


__removeListenEvents ​

▸ __removeListenEvents(): void

Returns ​

void

Defined in ​

in/packages/scroll/src/ScrollBar.ts:130


destroy ​

▸ destroy(): void

Returns ​

void

Implementation of ​

IScrollBar.destroy

Overrides ​

Group.destroy

Defined in ​

in/packages/scroll/src/ScrollBar.ts:134


resetCustom ​

▸ resetCustom(): void

Returns ​

void

Implementation of ​

IScrollBar.resetCustom

Inherited from ​

Group.resetCustom

Defined in ​

leafer/packages/display/src/Leaf.ts:133


waitParent ​

▸ waitParent(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Implementation of ​

IScrollBar.waitParent

Inherited from ​

Group.waitParent

Defined in ​

leafer/packages/display/src/Leaf.ts:139


waitLeafer ​

▸ waitLeafer(item, bind?): void

Parameters ​

NameType
itemIFunction
bind?IObject

Returns ​

void

Implementation of ​

IScrollBar.waitLeafer

Inherited from ​

Group.waitLeafer

Defined in ​

leafer/packages/display/src/Leaf.ts:144


nextRender ​

▸ nextRender(item, bind?, off?): void

Parameters ​

NameType
itemIFunction
bind?IObject
off?"off"

Returns ​

void

Implementation of ​

IScrollBar.nextRender

Inherited from ​

Group.nextRender

Defined in ​

leafer/packages/display/src/Leaf.ts:149


removeNextRender ​

▸ removeNextRender(item): void

Parameters ​

NameType
itemIFunction

Returns ​

void

Implementation of ​

IScrollBar.removeNextRender

Inherited from ​

Group.removeNextRender

Defined in ​

leafer/packages/display/src/Leaf.ts:153


__bindLeafer ​

▸ __bindLeafer(leafer): void

Parameters ​

NameType
leaferILeaferBase

Returns ​

void

Implementation of ​

IScrollBar.__bindLeafer

Inherited from ​

Group.__bindLeafer

Defined in ​

leafer/packages/display/src/Leaf.ts:157


setAttr ​

▸ setAttr(name, value): void

Parameters ​

NameType
namestring
valueany

Returns ​

void

Implementation of ​

IScrollBar.setAttr

Inherited from ​

Group.setAttr

Defined in ​

leafer/packages/display/src/Leaf.ts:186


getAttr ​

▸ getAttr(name): any

Parameters ​

NameType
namestring

Returns ​

any

Implementation of ​

IScrollBar.getAttr

Inherited from ​

Group.getAttr

Defined in ​

leafer/packages/display/src/Leaf.ts:187


getComputedAttr ​

▸ getComputedAttr(name): any

Parameters ​

NameType
namestring

Returns ​

any

Implementation of ​

IScrollBar.getComputedAttr

Inherited from ​

Group.getComputedAttr

Defined in ​

leafer/packages/display/src/Leaf.ts:189


toString ​

▸ toString(options?): string

Parameters ​

NameType
options?IJSONOptions

Returns ​

string

Implementation of ​

IScrollBar.toString

Inherited from ​

Group.toString

Defined in ​

leafer/packages/display/src/Leaf.ts:196


toSVG ​

▸ toSVG(): string

Returns ​

string

Implementation of ​

IScrollBar.toSVG

Inherited from ​

Group.toSVG

Defined in ​

leafer/packages/display/src/Leaf.ts:200


__SVG ​

▸ __SVG(_data): void

Parameters ​

NameType
_dataIObject

Returns ​

void

Implementation of ​

IScrollBar.__SVG

Inherited from ​

Group.__SVG

Defined in ​

leafer/packages/display/src/Leaf.ts:202


toHTML ​

▸ toHTML(): string

Returns ​

string

Implementation of ​

IScrollBar.toHTML

Inherited from ​

Group.toHTML

Defined in ​

leafer/packages/display/src/Leaf.ts:204


__setAttr ​

▸ __setAttr(_attrName, _newValue): boolean

Parameters ​

NameType
_attrNamestring
_newValueIValue

Returns ​

boolean

Implementation of ​

IScrollBar.__setAttr

Inherited from ​

Group.__setAttr

Defined in ​

leafer/packages/display/src/Leaf.ts:208


__getAttr ​

▸ __getAttr(_attrName): IValue

Parameters ​

NameType
_attrNamestring

Returns ​

IValue

Implementation of ​

IScrollBar.__getAttr

Inherited from ​

Group.__getAttr

Defined in ​

leafer/packages/display/src/Leaf.ts:210


setProxyAttr ​

▸ setProxyAttr(_attrName, _newValue): void

Parameters ​

NameType
_attrNamestring
_newValueIValue

Returns ​

void

Implementation of ​

IScrollBar.setProxyAttr

Inherited from ​

Group.setProxyAttr

Defined in ​

leafer/packages/display/src/Leaf.ts:212


getProxyAttr ​

▸ getProxyAttr(_attrName): IValue

Parameters ​

NameType
_attrNamestring

Returns ​

IValue

Implementation of ​

IScrollBar.getProxyAttr

Inherited from ​

Group.getProxyAttr

Defined in ​

leafer/packages/display/src/Leaf.ts:214


focus ​

▸ focus(_value?): void

Parameters ​

NameType
_value?boolean

Returns ​

void

Implementation of ​

IScrollBar.focus

Inherited from ​

Group.focus

Defined in ​

leafer/packages/display/src/Leaf.ts:234


updateState ​

▸ updateState(): void

Returns ​

void

Implementation of ​

IScrollBar.updateState

Inherited from ​

Group.updateState

Defined in ​

leafer/packages/display/src/Leaf.ts:236


updateLayout ​

▸ updateLayout(): void

Returns ​

void

Implementation of ​

IScrollBar.updateLayout

Inherited from ​

Group.updateLayout

Defined in ​

leafer/packages/display/src/Leaf.ts:241


forceUpdate ​

▸ forceUpdate(attrName?): void

Parameters ​

NameType
attrName?string

Returns ​

void

Implementation of ​

IScrollBar.forceUpdate

Inherited from ​

Group.forceUpdate

Defined in ​

leafer/packages/display/src/Leaf.ts:245


forceRender ​

▸ forceRender(_bounds?, _sync?): void

Parameters ​

NameType
_bounds?IBoundsData
_sync?boolean

Returns ​

void

Implementation of ​

IScrollBar.forceRender

Inherited from ​

Group.forceRender

Defined in ​

leafer/packages/display/src/Leaf.ts:253


__updateWorldMatrix ​

▸ __updateWorldMatrix(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateWorldMatrix

Inherited from ​

Group.__updateWorldMatrix

Defined in ​

leafer/packages/display/src/Leaf.ts:259


__updateLocalMatrix ​

▸ __updateLocalMatrix(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateLocalMatrix

Inherited from ​

Group.__updateLocalMatrix

Defined in ​

leafer/packages/display/src/Leaf.ts:261


__updateWorldBounds ​

▸ __updateWorldBounds(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateWorldBounds

Inherited from ​

Group.__updateWorldBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:267


__updateLocalBounds ​

▸ __updateLocalBounds(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateLocalBounds

Inherited from ​

Group.__updateLocalBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:269


__updateLocalBoxBounds ​

▸ __updateLocalBoxBounds(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateLocalBoxBounds

Inherited from ​

Group.__updateLocalBoxBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:272


__updateLocalStrokeBounds ​

▸ __updateLocalStrokeBounds(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateLocalStrokeBounds

Inherited from ​

Group.__updateLocalStrokeBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:274


__updateLocalRenderBounds ​

▸ __updateLocalRenderBounds(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateLocalRenderBounds

Inherited from ​

Group.__updateLocalRenderBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:276


__updateBoxBounds ​

▸ __updateBoxBounds(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateBoxBounds

Inherited from ​

Group.__updateBoxBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:280


__updateContentBounds ​

▸ __updateContentBounds(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateContentBounds

Inherited from ​

Group.__updateContentBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:282


__updateStrokeBounds ​

▸ __updateStrokeBounds(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateStrokeBounds

Inherited from ​

Group.__updateStrokeBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:284


__updateRenderBounds ​

▸ __updateRenderBounds(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateRenderBounds

Inherited from ​

Group.__updateRenderBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:286


__updateAutoLayout ​

▸ __updateAutoLayout(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateAutoLayout

Inherited from ​

Group.__updateAutoLayout

Defined in ​

leafer/packages/display/src/Leaf.ts:289


__updateFlowLayout ​

▸ __updateFlowLayout(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateFlowLayout

Inherited from ​

Group.__updateFlowLayout

Defined in ​

leafer/packages/display/src/Leaf.ts:291


__updateNaturalSize ​

▸ __updateNaturalSize(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateNaturalSize

Inherited from ​

Group.__updateNaturalSize

Defined in ​

leafer/packages/display/src/Leaf.ts:293


__updateStrokeSpread ​

▸ __updateStrokeSpread(): number

Returns ​

number

Implementation of ​

IScrollBar.__updateStrokeSpread

Inherited from ​

Group.__updateStrokeSpread

Defined in ​

leafer/packages/display/src/Leaf.ts:296


__updateRenderSpread ​

▸ __updateRenderSpread(): number

Returns ​

number

Implementation of ​

IScrollBar.__updateRenderSpread

Inherited from ​

Group.__updateRenderSpread

Defined in ​

leafer/packages/display/src/Leaf.ts:298


__updateEraser ​

▸ __updateEraser(value?): void

Parameters ​

NameType
value?boolean

Returns ​

void

Implementation of ​

IScrollBar.__updateEraser

Inherited from ​

Group.__updateEraser

Defined in ​

leafer/packages/display/src/Leaf.ts:305


__renderEraser ​

▸ __renderEraser(canvas, options): void

Parameters ​

NameType
canvasILeaferCanvas
optionsIRenderOptions

Returns ​

void

Implementation of ​

IScrollBar.__renderEraser

Inherited from ​

Group.__renderEraser

Defined in ​

leafer/packages/display/src/Leaf.ts:309


__updateMask ​

▸ __updateMask(_value?): void

Parameters ​

NameType
_value?boolean

Returns ​

void

Implementation of ​

IScrollBar.__updateMask

Inherited from ​

Group.__updateMask

Defined in ​

leafer/packages/display/src/Leaf.ts:317


__renderMask ​

▸ __renderMask(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IScrollBar.__renderMask

Inherited from ​

Group.__renderMask

Defined in ​

leafer/packages/display/src/Leaf.ts:323


__getNowWorld ​

▸ __getNowWorld(options): IMatrixWithBoundsScaleData

Parameters ​

NameType
optionsIRenderOptions

Returns ​

IMatrixWithBoundsScaleData

Implementation of ​

IScrollBar.__getNowWorld

Inherited from ​

Group.__getNowWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:331


getTransform ​

▸ getTransform(relative?): IMatrixData

Parameters ​

NameType
relative?ILeaf | ILocationType

Returns ​

IMatrixData

Implementation of ​

IScrollBar.getTransform

Inherited from ​

Group.getTransform

Defined in ​

leafer/packages/display/src/Leaf.ts:343


getBounds ​

▸ getBounds(type?, relative?): IBoundsData

Parameters ​

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns ​

IBoundsData

Implementation of ​

IScrollBar.getBounds

Inherited from ​

Group.getBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:348


getLayoutBounds ​

▸ getLayoutBounds(type?, relative?, unscale?): ILayoutBoundsData

Parameters ​

NameType
type?IBoundsType
relative?ILeaf | ILocationType
unscale?boolean

Returns ​

ILayoutBoundsData

Implementation of ​

IScrollBar.getLayoutBounds

Inherited from ​

Group.getLayoutBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:352


getLayoutPoints ​

▸ getLayoutPoints(type?, relative?): IPointData[]

Parameters ​

NameType
type?IBoundsType
relative?ILeaf | ILocationType

Returns ​

IPointData[]

Implementation of ​

IScrollBar.getLayoutPoints

Inherited from ​

Group.getLayoutPoints

Defined in ​

leafer/packages/display/src/Leaf.ts:356


getWorldBounds ​

▸ getWorldBounds(inner, relative?, change?): IBoundsData

Parameters ​

NameType
innerIBoundsData
relative?ILeaf
change?boolean

Returns ​

IBoundsData

Implementation of ​

IScrollBar.getWorldBounds

Inherited from ​

Group.getWorldBounds

Defined in ​

leafer/packages/display/src/Leaf.ts:361


worldToLocal ​

▸ worldToLocal(world, to?, distance?, relative?): void

Parameters ​

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IScrollBar.worldToLocal

Inherited from ​

Group.worldToLocal

Defined in ​

leafer/packages/display/src/Leaf.ts:369


localToWorld ​

▸ localToWorld(local, to?, distance?, relative?): void

Parameters ​

NameType
localIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IScrollBar.localToWorld

Inherited from ​

Group.localToWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:377


worldToInner ​

▸ worldToInner(world, to?, distance?, relative?): void

Parameters ​

NameType
worldIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IScrollBar.worldToInner

Inherited from ​

Group.worldToInner

Defined in ​

leafer/packages/display/src/Leaf.ts:385


innerToWorld ​

▸ innerToWorld(inner, to?, distance?, relative?): void

Parameters ​

NameType
innerIPointData
to?IPointData
distance?boolean
relative?ILeaf

Returns ​

void

Implementation of ​

IScrollBar.innerToWorld

Inherited from ​

Group.innerToWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:393


getBoxPoint ​

▸ getBoxPoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IScrollBar.getBoxPoint

Inherited from ​

Group.getBoxPoint

Defined in ​

leafer/packages/display/src/Leaf.ts:400


getBoxPointByInner ​

▸ getBoxPointByInner(inner, _relative?, _distance?, change?): IPointData

Parameters ​

NameType
innerIPointData
_relative?ILeaf
_distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IScrollBar.getBoxPointByInner

Inherited from ​

Group.getBoxPointByInner

Defined in ​

leafer/packages/display/src/Leaf.ts:404


getInnerPoint ​

▸ getInnerPoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IScrollBar.getInnerPoint

Inherited from ​

Group.getInnerPoint

Defined in ​

leafer/packages/display/src/Leaf.ts:410


getInnerPointByBox ​

▸ getInnerPointByBox(box, _relative?, _distance?, change?): IPointData

Parameters ​

NameType
boxIPointData
_relative?ILeaf
_distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IScrollBar.getInnerPointByBox

Inherited from ​

Group.getInnerPointByBox

Defined in ​

leafer/packages/display/src/Leaf.ts:416


getInnerPointByLocal ​

▸ getInnerPointByLocal(local, _relative?, distance?, change?): IPointData

Parameters ​

NameType
localIPointData
_relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IScrollBar.getInnerPointByLocal

Inherited from ​

Group.getInnerPointByLocal

Defined in ​

leafer/packages/display/src/Leaf.ts:422


getLocalPoint ​

▸ getLocalPoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IScrollBar.getLocalPoint

Inherited from ​

Group.getLocalPoint

Defined in ​

leafer/packages/display/src/Leaf.ts:426


getLocalPointByInner ​

▸ getLocalPointByInner(inner, _relative?, distance?, change?): IPointData

Parameters ​

NameType
innerIPointData
_relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IScrollBar.getLocalPointByInner

Inherited from ​

Group.getLocalPointByInner

Defined in ​

leafer/packages/display/src/Leaf.ts:432


getPagePoint ​

▸ getPagePoint(world, relative?, distance?, change?): IPointData

Parameters ​

NameType
worldIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IScrollBar.getPagePoint

Inherited from ​

Group.getPagePoint

Defined in ​

leafer/packages/display/src/Leaf.ts:436


getWorldPoint ​

▸ getWorldPoint(inner, relative?, distance?, change?): IPointData

Parameters ​

NameType
innerIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IScrollBar.getWorldPoint

Inherited from ​

Group.getWorldPoint

Defined in ​

leafer/packages/display/src/Leaf.ts:441


getWorldPointByBox ​

▸ getWorldPointByBox(box, relative?, distance?, change?): IPointData

Parameters ​

NameType
boxIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IScrollBar.getWorldPointByBox

Inherited from ​

Group.getWorldPointByBox

Defined in ​

leafer/packages/display/src/Leaf.ts:447


getWorldPointByLocal ​

▸ getWorldPointByLocal(local, relative?, distance?, change?): IPointData

Parameters ​

NameType
localIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IScrollBar.getWorldPointByLocal

Inherited from ​

Group.getWorldPointByLocal

Defined in ​

leafer/packages/display/src/Leaf.ts:451


getWorldPointByPage ​

▸ getWorldPointByPage(page, relative?, distance?, change?): IPointData

Parameters ​

NameType
pageIPointData
relative?ILeaf
distance?boolean
change?boolean

Returns ​

IPointData

Implementation of ​

IScrollBar.getWorldPointByPage

Inherited from ​

Group.getWorldPointByPage

Defined in ​

leafer/packages/display/src/Leaf.ts:457


setTransform ​

▸ setTransform(matrix, resize?): void

Parameters ​

NameType
matrixIMatrixData
resize?boolean

Returns ​

void

Implementation of ​

IScrollBar.setTransform

Inherited from ​

Group.setTransform

Defined in ​

leafer/packages/display/src/Leaf.ts:465


transform ​

▸ transform(matrix, resize?): void

Parameters ​

NameType
matrixIMatrixData
resize?boolean

Returns ​

void

Implementation of ​

IScrollBar.transform

Inherited from ​

Group.transform

Defined in ​

leafer/packages/display/src/Leaf.ts:469


move ​

▸ move(x, y?, transition?): void

Parameters ​

NameType
xnumber | IPointData
y?number
transition?any

Returns ​

void

Implementation of ​

IScrollBar.move

Inherited from ​

Group.move

Defined in ​

leafer/packages/display/src/Leaf.ts:473


moveInner ​

▸ moveInner(x, y?, transition?): void

Parameters ​

NameType
xnumber | IPointData
y?number
transition?any

Returns ​

void

Implementation of ​

IScrollBar.moveInner

Inherited from ​

Group.moveInner

Defined in ​

leafer/packages/display/src/Leaf.ts:478


scaleOf ​

▸ scaleOf(origin, scaleX, scaleY?, resize?): void

Parameters ​

NameType
originIPointData | IDirection
scaleXnumber
scaleY?number
resize?boolean

Returns ​

void

Implementation of ​

IScrollBar.scaleOf

Inherited from ​

Group.scaleOf

Defined in ​

leafer/packages/display/src/Leaf.ts:482


rotateOf ​

▸ rotateOf(origin, rotation): void

Parameters ​

NameType
originIPointData | IDirection
rotationnumber

Returns ​

void

Implementation of ​

IScrollBar.rotateOf

Inherited from ​

Group.rotateOf

Defined in ​

leafer/packages/display/src/Leaf.ts:486


skewOf ​

▸ skewOf(origin, skewX, skewY?, resize?): void

Parameters ​

NameType
originIPointData | IDirection
skewXnumber
skewY?number
resize?boolean

Returns ​

void

Implementation of ​

IScrollBar.skewOf

Inherited from ​

Group.skewOf

Defined in ​

leafer/packages/display/src/Leaf.ts:490


transformWorld ​

▸ transformWorld(worldTransform?, resize?): void

Parameters ​

NameType
worldTransform?IMatrixData
resize?boolean

Returns ​

void

Implementation of ​

IScrollBar.transformWorld

Inherited from ​

Group.transformWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:495


moveWorld ​

▸ moveWorld(x, y?, transition?): void

Parameters ​

NameType
xnumber | IPointData
y?number
transition?any

Returns ​

void

Implementation of ​

IScrollBar.moveWorld

Inherited from ​

Group.moveWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:499


scaleOfWorld ​

▸ scaleOfWorld(worldOrigin, scaleX, scaleY?, resize?): void

Parameters ​

NameType
worldOriginIPointData
scaleXnumber
scaleY?number
resize?boolean

Returns ​

void

Implementation of ​

IScrollBar.scaleOfWorld

Inherited from ​

Group.scaleOfWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:503


rotateOfWorld ​

▸ rotateOfWorld(worldOrigin, rotation): void

Parameters ​

NameType
worldOriginIPointData
rotationnumber

Returns ​

void

Implementation of ​

IScrollBar.rotateOfWorld

Inherited from ​

Group.rotateOfWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:507


skewOfWorld ​

▸ skewOfWorld(worldOrigin, skewX, skewY?, resize?): void

Parameters ​

NameType
worldOriginIPointData
skewXnumber
skewY?number
resize?boolean

Returns ​

void

Implementation of ​

IScrollBar.skewOfWorld

Inherited from ​

Group.skewOfWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:511


flip ​

▸ flip(axis): void

Parameters ​

NameType
axisIAxis

Returns ​

void

Implementation of ​

IScrollBar.flip

Inherited from ​

Group.flip

Defined in ​

leafer/packages/display/src/Leaf.ts:515


scaleResize ​

▸ scaleResize(scaleX, scaleY?, _noResize?): void

Parameters ​

NameTypeDefault value
scaleXnumberundefined
scaleYnumberscaleX
_noResize?booleanundefined

Returns ​

void

Implementation of ​

IScrollBar.scaleResize

Inherited from ​

Group.scaleResize

Defined in ​

leafer/packages/display/src/Leaf.ts:522


__scaleResize ​

▸ __scaleResize(_scaleX, _scaleY): void

Parameters ​

NameType
_scaleXnumber
_scaleYnumber

Returns ​

void

Implementation of ​

IScrollBar.__scaleResize

Inherited from ​

Group.__scaleResize

Defined in ​

leafer/packages/display/src/Leaf.ts:527


resizeWidth ​

▸ resizeWidth(_width): void

Parameters ​

NameType
_widthnumber

Returns ​

void

Implementation of ​

IScrollBar.resizeWidth

Inherited from ​

Group.resizeWidth

Defined in ​

leafer/packages/display/src/Leaf.ts:530


resizeHeight ​

▸ resizeHeight(_height): void

Parameters ​

NameType
_heightnumber

Returns ​

void

Implementation of ​

IScrollBar.resizeHeight

Inherited from ​

Group.resizeHeight

Defined in ​

leafer/packages/display/src/Leaf.ts:532


__hitWorld ​

▸ __hitWorld(_point): boolean

Parameters ​

NameType
_pointIRadiusPointData

Returns ​

boolean

Implementation of ​

IScrollBar.__hitWorld

Inherited from ​

Group.__hitWorld

Defined in ​

leafer/packages/display/src/Leaf.ts:537


__hit ​

▸ __hit(_local): boolean

Parameters ​

NameType
_localIRadiusPointData

Returns ​

boolean

Implementation of ​

IScrollBar.__hit

Inherited from ​

Group.__hit

Defined in ​

leafer/packages/display/src/Leaf.ts:539


__hitFill ​

▸ __hitFill(_inner): boolean

Parameters ​

NameType
_innerIRadiusPointData

Returns ​

boolean

Implementation of ​

IScrollBar.__hitFill

Inherited from ​

Group.__hitFill

Defined in ​

leafer/packages/display/src/Leaf.ts:541


__hitStroke ​

▸ __hitStroke(_inner, _strokeWidth): boolean

Parameters ​

NameType
_innerIRadiusPointData
_strokeWidthnumber

Returns ​

boolean

Implementation of ​

IScrollBar.__hitStroke

Inherited from ​

Group.__hitStroke

Defined in ​

leafer/packages/display/src/Leaf.ts:543


__hitPixel ​

▸ __hitPixel(_inner): boolean

Parameters ​

NameType
_innerIRadiusPointData

Returns ​

boolean

Implementation of ​

IScrollBar.__hitPixel

Inherited from ​

Group.__hitPixel

Defined in ​

leafer/packages/display/src/Leaf.ts:545


__drawHitPath ​

▸ __drawHitPath(_canvas): void

Parameters ​

NameType
_canvasILeaferCanvas

Returns ​

void

Implementation of ​

IScrollBar.__drawHitPath

Inherited from ​

Group.__drawHitPath

Defined in ​

leafer/packages/display/src/Leaf.ts:547


__updateHitCanvas ​

▸ __updateHitCanvas(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateHitCanvas

Inherited from ​

Group.__updateHitCanvas

Defined in ​

leafer/packages/display/src/Leaf.ts:549


__render ​

▸ __render(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IScrollBar.__render

Inherited from ​

Group.__render

Defined in ​

leafer/packages/display/src/Leaf.ts:556


__drawFast ​

▸ __drawFast(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IScrollBar.__drawFast

Inherited from ​

Group.__drawFast

Defined in ​

leafer/packages/display/src/Leaf.ts:558


__draw ​

▸ __draw(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IScrollBar.__draw

Inherited from ​

Group.__draw

Defined in ​

leafer/packages/display/src/Leaf.ts:560


__clip ​

▸ __clip(_canvas, _options): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions

Returns ​

void

Implementation of ​

IScrollBar.__clip

Inherited from ​

Group.__clip

Defined in ​

leafer/packages/display/src/Leaf.ts:563


__renderShape ​

▸ __renderShape(_canvas, _options, _ignoreFill?, _ignoreStroke?): void

Parameters ​

NameType
_canvasILeaferCanvas
_optionsIRenderOptions
_ignoreFill?boolean
_ignoreStroke?boolean

Returns ​

void

Implementation of ​

IScrollBar.__renderShape

Inherited from ​

Group.__renderShape

Defined in ​

leafer/packages/display/src/Leaf.ts:565


__updateWorldOpacity ​

▸ __updateWorldOpacity(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateWorldOpacity

Inherited from ​

Group.__updateWorldOpacity

Defined in ​

leafer/packages/display/src/Leaf.ts:568


__updateChange ​

▸ __updateChange(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateChange

Inherited from ​

Group.__updateChange

Defined in ​

leafer/packages/display/src/Leaf.ts:570


__updatePath ​

▸ __updatePath(): void

Returns ​

void

Implementation of ​

IScrollBar.__updatePath

Inherited from ​

Group.__updatePath

Defined in ​

leafer/packages/display/src/Leaf.ts:581


getMotionPathData ​

▸ getMotionPathData(): IMotionPathData

Returns ​

IMotionPathData

Implementation of ​

IScrollBar.getMotionPathData

Inherited from ​

Group.getMotionPathData

Defined in ​

leafer/packages/display/src/Leaf.ts:590


getMotionPoint ​

▸ getMotionPoint(_motionDistance): IRotationPointData

Parameters ​

NameType
_motionDistancenumber | IUnitData

Returns ​

IRotationPointData

Implementation of ​

IScrollBar.getMotionPoint

Inherited from ​

Group.getMotionPoint

Defined in ​

leafer/packages/display/src/Leaf.ts:594


getMotionTotal ​

▸ getMotionTotal(): number

Returns ​

number

Implementation of ​

IScrollBar.getMotionTotal

Inherited from ​

Group.getMotionTotal

Defined in ​

leafer/packages/display/src/Leaf.ts:598


__updateMotionPath ​

▸ __updateMotionPath(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateMotionPath

Inherited from ​

Group.__updateMotionPath

Defined in ​

leafer/packages/display/src/Leaf.ts:602


__runAnimation ​

▸ __runAnimation(_type, _complete?): void

Parameters ​

NameType
_type"in" | "out"
_complete?IFunction

Returns ​

void

Implementation of ​

IScrollBar.__runAnimation

Inherited from ​

Group.__runAnimation

Defined in ​

leafer/packages/display/src/Leaf.ts:608


__updateSortChildren ​

▸ __updateSortChildren(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateSortChildren

Inherited from ​

Group.__updateSortChildren

Defined in ​

leafer/packages/display/src/Leaf.ts:613


dropTo ​

▸ dropTo(parent, index?, resize?): void

Parameters ​

NameType
parentILeaf
index?number
resize?boolean

Returns ​

void

Implementation of ​

IScrollBar.dropTo

Inherited from ​

Group.dropTo

Defined in ​

leafer/packages/display/src/Leaf.ts:621


on ​

▸ on(_type, _listener?, _options?): void

Parameters ​

NameType
_typestring | string[] | IEventMap
_listener?IFunction
_options?IEventOption

Returns ​

void

Implementation of ​

IScrollBar.on

Inherited from ​

Group.on

Defined in ​

leafer/packages/display/src/Leaf.ts:630


off ​

▸ off(_type?, _listener?, _options?): void

Parameters ​

NameType
_type?string | string[]
_listener?IFunction
_options?IEventOption

Returns ​

void

Implementation of ​

IScrollBar.off

Inherited from ​

Group.off

Defined in ​

leafer/packages/display/src/Leaf.ts:632


on_ ​

▸ on_(_type, _listener, _bind?, _options?): IEventListenerId

Parameters ​

NameType
_typestring | string[]
_listenerIFunction
_bind?IObject
_options?IEventOption

Returns ​

IEventListenerId

Implementation of ​

IScrollBar.on_

Inherited from ​

Group.on_

Defined in ​

leafer/packages/display/src/Leaf.ts:634


off_ ​

▸ off_(_id): void

Parameters ​

NameType
_idIEventListenerId | IEventListenerId[]

Returns ​

void

Implementation of ​

IScrollBar.off_

Inherited from ​

Group.off_

Defined in ​

leafer/packages/display/src/Leaf.ts:636


once ​

▸ once(_type, _listener, _capture?): void

Parameters ​

NameType
_typestring | string[]
_listenerIFunction
_capture?boolean

Returns ​

void

Implementation of ​

IScrollBar.once

Inherited from ​

Group.once

Defined in ​

leafer/packages/display/src/Leaf.ts:638


emit ​

▸ emit(_type, _event?, _capture?): void

Parameters ​

NameType
_typestring
_event?IObject | IEvent
_capture?boolean

Returns ​

void

Implementation of ​

IScrollBar.emit

Inherited from ​

Group.emit

Defined in ​

leafer/packages/display/src/Leaf.ts:640


emitEvent ​

▸ emitEvent(_event?, _capture?): void

Parameters ​

NameType
_event?IEvent
_capture?boolean

Returns ​

void

Implementation of ​

IScrollBar.emitEvent

Inherited from ​

Group.emitEvent

Defined in ​

leafer/packages/display/src/Leaf.ts:642


hasEvent ​

▸ hasEvent(_type, _capture?): boolean

Parameters ​

NameType
_typestring
_capture?boolean

Returns ​

boolean

Implementation of ​

IScrollBar.hasEvent

Inherited from ​

Group.hasEvent

Defined in ​

leafer/packages/display/src/Leaf.ts:644


changeAttr ​

▸ changeAttr(attrName, defaultValue, fn?): void

Parameters ​

NameType
attrNamestring
defaultValueIValue
fn?IAttrDecorator

Returns ​

void

Inherited from ​

Group.changeAttr

Defined in ​

leafer/packages/display/src/Leaf.ts:648


addAttr ​

▸ addAttr(attrName, defaultValue, fn?): void

Parameters ​

NameType
attrNamestring
defaultValueIValue
fn?IAttrDecorator

Returns ​

void

Inherited from ​

Group.addAttr

Defined in ​

leafer/packages/display/src/Leaf.ts:652


__emitLifeEvent ​

▸ __emitLifeEvent(type): void

Parameters ​

NameType
typestring

Returns ​

void

Implementation of ​

IScrollBar.__emitLifeEvent

Inherited from ​

Group.__emitLifeEvent

Defined in ​

leafer/packages/display/src/Leaf.ts:658


reset ​

▸ reset(data?): void

Parameters ​

NameType
data?IGroupInputData

Returns ​

void

Implementation of ​

IScrollBar.reset

Inherited from ​

Group.reset

Defined in ​

ui/packages/display/src/Group.ts:27


__setBranch ​

▸ __setBranch(): void

Returns ​

void

Inherited from ​

Group.__setBranch

Defined in ​

ui/packages/display/src/Group.ts:32


set ​

▸ set(data, transition?): void

Parameters ​

NameType
dataIUIInputData
transition?ITransition | "temp"

Returns ​

void

Implementation of ​

IScrollBar.set

Inherited from ​

Group.set

Defined in ​

ui/packages/display/src/Group.ts:39


toJSON ​

▸ toJSON(options?): IUIJSONData

Parameters ​

NameType
options?IJSONOptions

Returns ​

IUIJSONData

Implementation of ​

IScrollBar.toJSON

Inherited from ​

Group.toJSON

Defined in ​

ui/packages/display/src/Group.ts:54


pick ​

▸ pick(_hitPoint, _options?): IPickResult

Parameters ​

NameType
_hitPointIPointData
_options?IPickOptions

Returns ​

IPickResult

Implementation of ​

IScrollBar.pick

Inherited from ​

Group.pick

Defined in ​

ui/packages/display/src/Group.ts:63


addAt ​

▸ addAt(child, index): void

Parameters ​

NameType
childIUIInputData | IUI | IUI[] | IUIInputData[]
indexnumber

Returns ​

void

Implementation of ​

IScrollBar.addAt

Inherited from ​

Group.addAt

Defined in ​

ui/packages/display/src/Group.ts:68


addAfter ​

▸ addAfter(child, after): void

Parameters ​

NameType
childIUIInputData | IUI | IUI[] | IUIInputData[]
afterIUI

Returns ​

void

Implementation of ​

IScrollBar.addAfter

Inherited from ​

Group.addAfter

Defined in ​

ui/packages/display/src/Group.ts:72


addBefore ​

▸ addBefore(child, before): void

Parameters ​

NameType
childIUIInputData | IUI | IUI[] | IUIInputData[]
beforeIUI

Returns ​

void

Implementation of ​

IScrollBar.addBefore

Inherited from ​

Group.addBefore

Defined in ​

ui/packages/display/src/Group.ts:76


add ​

▸ add(_child, _index?): void

Parameters ​

NameType
_childIUIInputData | IUI | IUI[] | IUIInputData[]
_index?number

Returns ​

void

Implementation of ​

IScrollBar.add

Inherited from ​

Group.add

Defined in ​

ui/packages/display/src/Group.ts:82


addMany ​

▸ addMany(..._children): void

Parameters ​

NameType
..._childrenIUI[] | IUIInputData[]

Returns ​

void

Implementation of ​

IScrollBar.addMany

Inherited from ​

Group.addMany

Defined in ​

ui/packages/display/src/Group.ts:84


remove ​

▸ remove(_child?, _destroy?): void

Parameters ​

NameType
_child?string | number | IFindCondition | IUI | IFindUIMethod
_destroy?boolean

Returns ​

void

Implementation of ​

IScrollBar.remove

Inherited from ​

Group.remove

Defined in ​

ui/packages/display/src/Group.ts:86


removeAll ​

▸ removeAll(_destroy?): void

Parameters ​

NameType
_destroy?boolean

Returns ​

void

Implementation of ​

IScrollBar.removeAll

Inherited from ​

Group.removeAll

Defined in ​

ui/packages/display/src/Group.ts:88


clear ​

▸ clear(): void

Returns ​

void

Implementation of ​

IScrollBar.clear

Inherited from ​

Group.clear

Defined in ​

ui/packages/display/src/Group.ts:90


get ​

▸ get(name?): IValue | IUIInputData

Parameters ​

NameType
name?string | string[] | IUIInputData

Returns ​

IValue | IUIInputData

Implementation of ​

IScrollBar.get

Inherited from ​

Group.get

Defined in ​

ui/packages/display/src/UI.ts:393


createProxyData ​

▸ createProxyData(): IUIInputData

Returns ​

IUIInputData

Implementation of ​

IScrollBar.createProxyData

Inherited from ​

Group.createProxyData

Defined in ​

ui/packages/display/src/UI.ts:397


find ​

▸ find(_condition, _options?): IUI[]

Parameters ​

NameType
_conditionstring | number | IFindCondition | IFindUIMethod
_options?any

Returns ​

IUI[]

Implementation of ​

IScrollBar.find

Inherited from ​

Group.find

Defined in ​

ui/packages/display/src/UI.ts:402


findTag ​

▸ findTag(tag): IUI[]

Parameters ​

NameType
tagstring | string[]

Returns ​

IUI[]

Implementation of ​

IScrollBar.findTag

Inherited from ​

Group.findTag

Defined in ​

ui/packages/display/src/UI.ts:404


findOne ​

▸ findOne(_condition, _options?): IUI

Parameters ​

NameType
_conditionstring | number | IFindCondition | IFindUIMethod
_options?any

Returns ​

IUI

Implementation of ​

IScrollBar.findOne

Inherited from ​

Group.findOne

Defined in ​

ui/packages/display/src/UI.ts:406


findId ​

▸ findId(id): IUI

Parameters ​

NameType
idstring | number

Returns ​

IUI

Implementation of ​

IScrollBar.findId

Inherited from ​

Group.findId

Defined in ​

ui/packages/display/src/UI.ts:408


getPath ​

▸ getPath(curve?, pathForRender?): IPathCommandData

Parameters ​

NameType
curve?boolean
pathForRender?boolean

Returns ​

IPathCommandData

Implementation of ​

IScrollBar.getPath

Inherited from ​

Group.getPath

Defined in ​

ui/packages/display/src/UI.ts:413


getPathString ​

▸ getPathString(curve?, pathForRender?, floatLength?): string

Parameters ​

NameType
curve?boolean
pathForRender?boolean
floatLength?number

Returns ​

string

Implementation of ​

IScrollBar.getPathString

Inherited from ​

Group.getPathString

Defined in ​

ui/packages/display/src/UI.ts:420


load ​

▸ load(): void

Returns ​

void

Implementation of ​

IScrollBar.load

Inherited from ​

Group.load

Defined in ​

ui/packages/display/src/UI.ts:425


__onUpdateSize ​

▸ __onUpdateSize(): void

Returns ​

void

Implementation of ​

IScrollBar.__onUpdateSize

Inherited from ​

Group.__onUpdateSize

Defined in ​

ui/packages/display/src/UI.ts:429


__updateRenderPath ​

▸ __updateRenderPath(): void

Returns ​

void

Implementation of ​

IScrollBar.__updateRenderPath

Inherited from ​

Group.__updateRenderPath

Defined in ​

ui/packages/display/src/UI.ts:436


__drawRenderPath ​

▸ __drawRenderPath(canvas): void

Parameters ​

NameType
canvasILeaferCanvas

Returns ​

void

Implementation of ​

IScrollBar.__drawRenderPath

Inherited from ​

Group.__drawRenderPath

Defined in ​

ui/packages/display/src/UI.ts:444


__drawPath ​

▸ __drawPath(canvas): void

Parameters ​

NameType
canvasILeaferCanvas

Returns ​

void

Implementation of ​

IScrollBar.__drawPath

Inherited from ​

Group.__drawPath

Defined in ​

ui/packages/display/src/UI.ts:449


__drawPathByData ​

▸ __drawPathByData(drawer, data): void

Parameters ​

NameType
drawerIPathDrawer
dataIPathCommandData

Returns ​

void

Implementation of ​

IScrollBar.__drawPathByData

Inherited from ​

Group.__drawPathByData

Defined in ​

ui/packages/display/src/UI.ts:454


__drawPathByBox ​

▸ __drawPathByBox(drawer): void

Parameters ​

NameType
drawerIPathDrawer

Returns ​

void

Implementation of ​

IScrollBar.__drawPathByBox

Inherited from ​

Group.__drawPathByBox

Defined in ​

ui/packages/display/src/UI.ts:458


animate ​

▸ animate(_keyframe?, _options?, _type?, _isTemp?): IAnimate

Parameters ​

NameType
_keyframe?IAnimation | IUIInputData | IKeyframe[]
_options?ITransition
_type?IAnimateType
_isTemp?boolean

Returns ​

IAnimate

Implementation of ​

IScrollBar.animate

Inherited from ​

Group.animate

Defined in ​

ui/packages/display/src/UI.ts:468


killAnimate ​

▸ killAnimate(_type?): void

Parameters ​

NameType
_type?IAnimateType

Returns ​

void

Implementation of ​

IScrollBar.killAnimate

Inherited from ​

Group.killAnimate

Defined in ​

ui/packages/display/src/UI.ts:472


export ​

▸ export(filename, options?): Promise<IExportResult>

Parameters ​

NameType
filenamestring
options?number | boolean | IExportOptions

Returns ​

Promise<IExportResult>

Implementation of ​

IScrollBar.export

Inherited from ​

Group.export

Defined in ​

ui/packages/display/src/UI.ts:477


clone ​

▸ clone(data?): IUI

Parameters ​

NameType
data?IUIInputData

Returns ​

IUI

Implementation of ​

IScrollBar.clone

Inherited from ​

Group.clone

Defined in ​

ui/packages/display/src/UI.ts:481


one ​

▸ one(data, x?, y?, width?, height?): IUI

Parameters ​

NameType
dataIUIInputData
x?number
y?number
width?number
height?number

Returns ​

IUI

Inherited from ​

Group.one

Defined in ​

ui/packages/display/src/UI.ts:487


registerUI ​

▸ registerUI(): void

Returns ​

void

Inherited from ​

Group.registerUI

Defined in ​

ui/packages/display/src/UI.ts:491


registerData ​

▸ registerData(data): void

Parameters ​

NameType
dataIUIData

Returns ​

void

Inherited from ​

Group.registerData

Defined in ​

ui/packages/display/src/UI.ts:495


setEditConfig ​

▸ setEditConfig(_config): void

Parameters ​

NameType
_configIEditorConfig | IEditorConfigFunction

Returns ​

void

Inherited from ​

Group.setEditConfig

Defined in ​

ui/packages/display/src/UI.ts:502


setEditOuter ​

▸ setEditOuter(_toolName): void

Parameters ​

NameType
_toolNamestring | IEditToolFunction

Returns ​

void

Inherited from ​

Group.setEditOuter

Defined in ​

ui/packages/display/src/UI.ts:504


setEditInner ​

▸ setEditInner(_editorName): void

Parameters ​

NameType
_editorNamestring | IEditToolFunction

Returns ​

void

Inherited from ​

Group.setEditInner

Defined in ​

ui/packages/display/src/UI.ts:506

Released under the MIT License.