Interface: IHitCanvasManager
Hierarchy
↳
IHitCanvasManager
Implemented by
Table of contents
Properties
Methods
Properties
maxTotal
• maxTotal: number
Defined in
leafer/packages/interface/src/canvas/IHitCanvasManager.ts:6
Methods
add
▸ add(canvas
): void
Parameters
Name | Type |
---|---|
canvas | ILeaferCanvas |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/canvas/ICanvasManager.ts:4
get
▸ get(size
): ILeaferCanvas
Parameters
Name | Type |
---|---|
size | IScreenSizeData |
Returns
Inherited from
Defined in
leafer/packages/interface/src/canvas/ICanvasManager.ts:5
recycle
▸ recycle(old
): void
Parameters
Name | Type |
---|---|
old | ILeaferCanvas |
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/canvas/ICanvasManager.ts:6
clearRecycled
▸ clearRecycled(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/canvas/ICanvasManager.ts:7
clear
▸ clear(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/canvas/ICanvasManager.ts:8
destroy
▸ destroy(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/canvas/ICanvasManager.ts:9
getPathType
▸ getPathType(leaf
): IHitCanvas
Parameters
Name | Type |
---|---|
leaf | ILeaf |
Returns
Defined in
leafer/packages/interface/src/canvas/IHitCanvasManager.ts:7
getPixelType
▸ getPixelType(leaf
, config?
): IHitCanvas
Parameters
Name | Type |
---|---|
leaf | ILeaf |
config? | ILeaferCanvasConfig |