@univerjs/engine-render v0.5.1 • Docs
Class: CheckboxShape
Extends
Constructors
new CheckboxShape()
new CheckboxShape(key, props): CheckboxShape
Parameters
Parameter | Type |
---|---|
key | string |
props | ICheckboxShapeProps |
Returns
Overrides
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/checkbox.ts:32
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_checked | public | boolean | false | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/checkbox.ts:30 |
_dirty | protected | boolean | true | Shape ._dirty | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:88 |
_disposed | protected | boolean | false | Shape ._disposed | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
_forceDirty | protected | boolean | true | Shape ._forceDirty | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:89 |
_oKey | protected | string | undefined | Shape ._oKey | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:86 |
groupKey? | public | string | undefined | Shape .groupKey | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:59 |
isInGroup | public | boolean | false | Shape .isInGroup | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:60 |
objectType | public | ObjectType | ObjectType.SHAPE | Shape .objectType | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:140 |
onDblclick$ | public | EventSubject <IMouseEvent | IPointerEvent > | undefined | Shape .onDblclick$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:74 |
onDispose$ | public | EventSubject <BaseObject > | undefined | Shape .onDispose$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:84 |
onDragEnter$ | public | EventSubject <IMouseEvent | IDragEvent > | undefined | Shape .onDragEnter$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:80 |
onDragLeave$ | public | EventSubject <IMouseEvent | IDragEvent > | undefined | Shape .onDragLeave$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:78 |
onDragOver$ | public | EventSubject <IMouseEvent | IDragEvent > | undefined | Shape .onDragOver$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:79 |
onDrop$ | public | EventSubject <IMouseEvent | IDragEvent > | undefined | Shape .onDrop$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:81 |
onIsAddedToParent$ | public | EventSubject <any > | undefined | Shape .onIsAddedToParent$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:83 |
onMouseWheel$ | public | EventSubject <IWheelEvent > | undefined | Shape .onMouseWheel$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:76 |
onPointerDown$ | public | EventSubject <IMouseEvent | IPointerEvent > | undefined | Shape .onPointerDown$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:66 |
onPointerEnter$ | public | EventSubject <IMouseEvent | IPointerEvent > | undefined | Shape .onPointerEnter$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:72 |
onPointerLeave$ | public | EventSubject <IMouseEvent | IPointerEvent > | undefined | Shape .onPointerLeave$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:71 |
onPointerMove$ | public | EventSubject <IMouseEvent | IPointerEvent > | undefined | Shape .onPointerMove$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:67 |
onPointerOut$ | public | EventSubject <IMouseEvent | IPointerEvent > | undefined | Shape .onPointerOut$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:69 |
onPointerOver$ | public | EventSubject <IMouseEvent | IPointerEvent > | undefined | Shape .onPointerOver$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:70 |
onPointerUp$ | public | EventSubject <IMouseEvent | IPointerEvent > | undefined | Shape .onPointerUp$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:68 |
onTransformChange$ | public | EventSubject <ITransformChangeState > | undefined | Shape .onTransformChange$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:64 |
onTripleClick$ | public | EventSubject <IMouseEvent | IPointerEvent > | undefined | Shape .onTripleClick$ | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:75 |
Accessors
ancestorGroup
Get Signature
get ancestorGroup(): Nullable<BaseObject>
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:251
ancestorLeft
Get Signature
get ancestorLeft(): any
Returns
any
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:235
ancestorScaleX
Get Signature
get ancestorScaleX(): number
Returns
number
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:225
ancestorScaleY
Get Signature
get ancestorScaleY(): number
Returns
number
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:230
ancestorTop
Get Signature
get ancestorTop(): any
Returns
any
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:239
ancestorTransform
Get Signature
get ancestorTransform(): any
Returns
any
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:243
angle
Get Signature
get angle(): number
Returns
number
Set Signature
set angle(angle): void
Parameters
Parameter | Type |
---|---|
angle | number |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:213
checked
Get Signature
get checked(): boolean
Returns
boolean
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/checkbox.ts:40
classType
Get Signature
get classType(): RENDER_CLASS_TYPE
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:189
cursor
Get Signature
get cursor(): CURSOR_TYPE
Returns
Set Signature
set cursor(val): void
Parameters
Parameter | Type |
---|---|
val | CURSOR_TYPE |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:303
debounceParentDirty
Get Signature
get debounceParentDirty(): boolean
Returns
boolean
Set Signature
set debounceParentDirty(state): void
Parameters
Parameter | Type |
---|---|
state | boolean |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:299
evented
Get Signature
get evented(): boolean
Returns
boolean
Set Signature
set evented(state): void
Parameters
Parameter | Type |
---|---|
state | boolean |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:291
fill
Get Signature
get fill(): Nullable<string | CanvasGradient>
Returns
Nullable
<string
| CanvasGradient
>
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:176
fillAfterStrokeEnabled
Get Signature
get fillAfterStrokeEnabled(): boolean
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:180
fillRule
Get Signature
get fillRule(): string
Returns
string
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:156
flipX
Get Signature
get flipX(): boolean
Returns
boolean
Set Signature
set flipX(flipX): void
Parameters
Parameter | Type |
---|---|
flipX | boolean |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:271
flipY
Get Signature
get flipY(): boolean
Returns
boolean
Set Signature
set flipY(flipY): void
Parameters
Parameter | Type |
---|---|
flipY | boolean |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:275
globalCompositeOperation
Get Signature
get globalCompositeOperation(): string
Returns
string
Inherited from
Shape
.globalCompositeOperation
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:160
height
Get Signature
get height(): number
Returns
number
Set Signature
set height(num): void
Parameters
Parameter | Type |
---|---|
num | string | number |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:205
heightOrigin
Get Signature
get heightOrigin(): string | number
Returns
string
| number
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:185
hitStrokeWidth
Get Signature
get hitStrokeWidth(): string | number
Returns
string
| number
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:184
hoverCursor
Get Signature
get hoverCursor(): Nullable<string>
Returns
Nullable
<string
>
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:148
layer
Get Signature
get layer(): Nullable<Layer>
Returns
Set Signature
set layer(layer): void
Parameters
Parameter | Type |
---|---|
layer | Layer |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:307
left
Get Signature
get left(): number
Returns
number
Set Signature
set left(num): void
Parameters
Parameter | Type |
---|---|
num | string | number |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:197
leftOrigin
Get Signature
get leftOrigin(): string | number
Returns
string
| number
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:177
maxZIndex
Get Signature
get maxZIndex(): number
Returns
number
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:399
moveCursor
Get Signature
get moveCursor(): null | string
Returns
null
| string
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:152
oKey
Get Signature
get oKey(): string
Returns
string
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:283
paintFirst
Get Signature
get paintFirst(): PaintFirst
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:164
parent
Get Signature
get parent(): any
Returns
any
Set Signature
set parent(o): void
Parameters
Parameter | Type |
---|---|
o | any |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:279
printable
Get Signature
get printable(): boolean
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:169
scaleX
Get Signature
get scaleX(): number
Returns
number
Set Signature
set scaleX(scaleX): void
Parameters
Parameter | Type |
---|---|
scaleX | number |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:217
scaleY
Get Signature
get scaleY(): number
Returns
number
Set Signature
set scaleY(scaleY): void
Parameters
Parameter | Type |
---|---|
scaleY | number |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:221
shadowBlur
Get Signature
get shadowBlur(): number
Returns
number
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:200
shadowColor
Get Signature
get shadowColor(): Nullable<string>
Returns
Nullable
<string
>
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:196
shadowEnabled
Get Signature
get shadowEnabled(): boolean
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:220
shadowForStrokeEnabled
Get Signature
get shadowForStrokeEnabled(): boolean
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:224
shadowOffset
Get Signature
get shadowOffset(): Nullable<Vector2>
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:204
shadowOffsetX
Get Signature
get shadowOffsetX(): number
Returns
number
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:208
shadowOffsetY
Get Signature
get shadowOffsetY(): number
Returns
number
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:212
shadowOpacity
Get Signature
get shadowOpacity(): number
Returns
number
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:216
skewX
Get Signature
get skewX(): number
Returns
number
Set Signature
set skewX(skewX): void
Parameters
Parameter | Type |
---|---|
skewX | number |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:263
skewY
Get Signature
get skewY(): number
Returns
number
Set Signature
set skewY(skewY): void
Parameters
Parameter | Type |
---|---|
skewY | number |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:267
stroke
Get Signature
get stroke(): Nullable<string | CanvasGradient>
Returns
Nullable
<string
| CanvasGradient
>
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:168
strokeDashArray
Get Signature
get strokeDashArray(): Nullable<number[]>
Returns
Nullable
<number
[]>
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:228
strokeDashOffset
Get Signature
get strokeDashOffset(): number
Returns
number
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:232
strokeLineCap
Get Signature
get strokeLineCap(): LineCap
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:192
strokeLineJoin
Get Signature
get strokeLineJoin(): LineJoin
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:188
strokeMiterLimit
Get Signature
get strokeMiterLimit(): number
Returns
number
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:236
strokeScaleEnabled
Get Signature
get strokeScaleEnabled(): boolean
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:172
strokeWidth
Get Signature
get strokeWidth(): number
Returns
number
Set Signature
set strokeWidth(width): void
Parameters
Parameter | Type |
---|---|
width | number |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:209
top
Get Signature
get top(): number
Returns
number
Set Signature
set top(num): void
Parameters
Parameter | Type |
---|---|
num | string | number |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:193
topOrigin
Get Signature
get topOrigin(): string | number
Returns
string
| number
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:173
transform
Get Signature
get transform(): Transform
Returns
Set Signature
set transform(trans): void
Parameters
Parameter | Type |
---|---|
trans | Transform |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:148
transformerConfig
Get Signature
get transformerConfig(): ITransformerConfig
Returns
ITransformerConfig
Set Signature
set transformerConfig(config): void
Parameters
Parameter | Type |
---|---|
config | ITransformerConfig |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:391
visible
Get Signature
get visible(): boolean
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:295
width
Get Signature
get width(): number
Returns
number
Set Signature
set width(num): void
Parameters
Parameter | Type |
---|---|
num | string | number |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:201
widthOrigin
Get Signature
get widthOrigin(): string | number
Returns
string
| number
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:181
zIndex
Get Signature
get zIndex(): number
Returns
number
Set Signature
set zIndex(index): void
Parameters
Parameter | Type |
---|---|
index | number |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:287
Methods
_draw()
protected _draw(ctx): void
Parameters
Parameter | Type |
---|---|
ctx | UniverRenderingContext |
Returns
void
Overrides
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/checkbox.ts:65
_setTransForm()
protected _setTransForm(): void
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:849
applyTransform()
applyTransform(): void
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:837
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:751
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:99
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:103
flip()
flip(flipX?, flipY?): CheckboxShape
Parameters
Parameter | Type |
---|---|
flipX ? | boolean |
flipY ? | boolean |
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:522
getEngine()
getEngine(): Nullable<Engine>
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:815
getInverseCoord()
getInverseCoord(coord): Vector2
Parameters
Parameter | Type |
---|---|
coord | Vector2 |
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:845
getLayerIndex()
getLayerIndex(): number
Returns
number
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:830
getObjects()
getObjects(): BaseObject[]
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:826
getParent()
getParent(): any
Returns
any
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:580
getScene()
getScene(): Nullable<Scene>
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:794
getState()
getState(): ITransformState
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:584
hide()
hide(): void
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:600
isDirty()
isDirty(): boolean
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:431
isHit()
isHit(coord): boolean
Parameters
Parameter | Type |
---|---|
coord | Vector2 |
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:614
isRender()
isRender(bounds?): undefined | boolean
Parameters
Parameter | Type |
---|---|
bounds ? | IViewportInfo |
Returns
undefined
| boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:573
makeDirty()
makeDirty(state): undefined | CheckboxShape
Parameters
Parameter | Type | Default value |
---|---|---|
state | boolean | true |
Returns
undefined
| CheckboxShape
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:403
makeDirtyNoDebounce()
makeDirtyNoDebounce(state): CheckboxShape
Parameters
Parameter | Type | Default value |
---|---|---|
state | boolean | true |
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:422
makeForceDirty()
makeForceDirty(state): void
Parameters
Parameter | Type | Default value |
---|---|---|
state | boolean | true |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:418
removeTransform()
removeTransform(): void
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:841
render()
render(mainCtx, bounds?): CheckboxShape
Parameters
Parameter | Type |
---|---|
mainCtx | UniverRenderingContext |
bounds ? | IViewportInfo |
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:319
resetCursor()
resetCursor(): void
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:806
resize()
resize(width?, height?): CheckboxShape
Parameters
Parameter | Type |
---|---|
width ? | string | number |
height ? | string | number |
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:457
scale()
scale(scaleX?, scaleY?): CheckboxShape
Parameters
Parameter | Type |
---|---|
scaleX ? | number |
scaleY ? | number |
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:478
setCursor()
setCursor(val): void
Parameters
Parameter | Type |
---|---|
val | CURSOR_TYPE |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:810
setProps()
setProps(props?): Shape<ICheckboxShapeProps>
this[_key] = props[key]
Parameters
Parameter | Type |
---|---|
props ? | ICheckboxShapeProps |
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:352
show()
show(): void
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:605
skew()
skew(skewX?, skewY?): CheckboxShape
Parameters
Parameter | Type |
---|---|
skewX ? | number |
skewY ? | number |
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:500
toJson()
toJson(): {}
Returns
{}
Overrides
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/checkbox.ts:69
transformByState()
transformByState(option): undefined | CheckboxShape
this[pKey] = option[pKey]
Parameters
Parameter | Type |
---|---|
option | IObjectFullState |
Returns
undefined
| CheckboxShape
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:547
transformForAngle()
transformForAngle(transform): Transform
Parameters
Parameter | Type |
---|---|
transform | Transform |
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:153
translate()
translate(x?, y?): CheckboxShape
Parameters
Parameter | Type |
---|---|
x ? | string | number |
y ? | string | number |
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:435
triggerDblclick()
triggerDblclick(evt): boolean
Parameters
Parameter | Type |
---|---|
evt | IMouseEvent | IPointerEvent |
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:651
triggerDragEnter()
triggerDragEnter(evt): boolean
Parameters
Parameter | Type |
---|---|
evt | IMouseEvent | IDragEvent |
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:735
triggerDragLeave()
triggerDragLeave(evt): boolean
Parameters
Parameter | Type |
---|---|
evt | IMouseEvent | IDragEvent |
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:719
triggerDragOver()
triggerDragOver(evt): boolean
Parameters
Parameter | Type |
---|---|
evt | IMouseEvent | IDragEvent |
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:727
triggerDrop()
triggerDrop(evt): boolean
Parameters
Parameter | Type |
---|---|
evt | IMouseEvent | IDragEvent |
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:743
triggerMouseWheel()
triggerMouseWheel(evt): boolean
Parameters
Parameter | Type |
---|---|
evt | IWheelEvent |
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:671
triggerPointerCancel()
triggerPointerCancel(evt): boolean
Parameters
Parameter | Type |
---|---|
evt | IPointerEvent |
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:711
triggerPointerDown()
triggerPointerDown(evt): boolean
Parameters
Parameter | Type |
---|---|
evt | IMouseEvent | IPointerEvent |
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:635
triggerPointerEnter()
triggerPointerEnter(evt): boolean
Parameters
Parameter | Type |
---|---|
evt | IMouseEvent | IPointerEvent |
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:703
triggerPointerLeave()
triggerPointerLeave(evt): boolean
Parameters
Parameter | Type |
---|---|
evt | IMouseEvent | IPointerEvent |
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:687
triggerPointerMove()
triggerPointerMove(evt): boolean
Parameters
Parameter | Type |
---|---|
evt | IMouseEvent | IPointerEvent |
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:627
triggerPointerOut()
triggerPointerOut(evt): boolean
Parameters
Parameter | Type |
---|---|
evt | IMouseEvent | IPointerEvent |
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:679
triggerPointerOver()
triggerPointerOver(evt): boolean
Parameters
Parameter | Type |
---|---|
evt | IMouseEvent | IPointerEvent |
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:695
triggerPointerUp()
triggerPointerUp(evt): boolean
Parameters
Parameter | Type |
---|---|
evt | IMouseEvent | IPointerEvent |
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:643
triggerTripleClick()
triggerTripleClick(evt): boolean
Parameters
Parameter | Type |
---|---|
evt | IMouseEvent | IPointerEvent |
Returns
boolean
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:661
_renderPaintInOrder()
protected static _renderPaintInOrder(ctx, props): void
Parameters
Parameter | Type |
---|---|
ctx | UniverRenderingContext |
props | IShapeProps |
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/shape.ts:244
drawWith()
static drawWith(ctx, props): void
Parameters
Parameter | Type |
---|---|
ctx | UniverRenderingContext |
props | ICheckboxShapeProps |
Returns
void
Overrides
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/shape/checkbox.ts:44