Interface: ICreator
Table of contents
Methods
Methods
image
▸ image(options?
): ILeaferImage
Parameters
Name | Type |
---|---|
options? | ILeaferImageConfig |
Returns
Defined in
leafer/packages/interface/src/app/ILeafer.ts:115
canvas
▸ canvas(options?
, manager?
): ILeaferCanvas
Parameters
Name | Type |
---|---|
options? | ILeaferCanvasConfig |
manager? | ICanvasManager |
Returns
Defined in
leafer/packages/interface/src/app/ILeafer.ts:116
hitCanvas
▸ hitCanvas(options?
, manager?
): IHitCanvas
Parameters
Name | Type |
---|---|
options? | ILeaferCanvasConfig |
manager? | ICanvasManager |
Returns
Defined in
leafer/packages/interface/src/app/ILeafer.ts:117
hitCanvasManager
▸ hitCanvasManager(): IHitCanvasManager
Returns
Defined in
leafer/packages/interface/src/app/ILeafer.ts:118
watcher
▸ watcher(target
, options?
): IWatcher
Parameters
Name | Type |
---|---|
target | ILeaf |
options? | IWatcherConfig |
Returns
Defined in
leafer/packages/interface/src/app/ILeafer.ts:120
layouter
▸ layouter(target
, options?
): ILayouter
Parameters
Name | Type |
---|---|
target | ILeaf |
options? | ILayouterConfig |
Returns
Defined in
leafer/packages/interface/src/app/ILeafer.ts:121
renderer
▸ renderer(target
, canvas
, options?
): IRenderer
Parameters
Name | Type |
---|---|
target | ILeaf |
canvas | ILeaferCanvas |
options? | IRendererConfig |
Returns
Defined in
leafer/packages/interface/src/app/ILeafer.ts:122
selector
▸ selector(target?
, options?
): ISelector
Parameters
Name | Type |
---|---|
target? | ILeaf |
options? | ISelectorConfig |
Returns
Defined in
leafer/packages/interface/src/app/ILeafer.ts:123
interaction
▸ interaction(target
, canvas
, selector
, options?
): IInteraction
Parameters
Name | Type |
---|---|
target | ILeaf |
canvas | IInteractionCanvas |
selector | ISelector |
options? | IInteractionConfig |
Returns
Defined in
leafer/packages/interface/src/app/ILeafer.ts:125
editor
▸ editor(options?
): ILeaf
Parameters
Name | Type |
---|---|
options? | IObject |