Skip to content

本页由脚本自动生成,请勿手动编辑。如需补充说明,请使用 ::: tip 块。

Defined in: types/base-graphic-type.d.ts:3

Implements

Constructors

Constructor

ts
new BaseGraphicType(): BaseGraphicType;

Returns

BaseGraphicType

Properties

type

ts
abstract readonly type: string;

Defined in: types/base-graphic-type.d.ts:4

Implementation of

IGraphicType.type

Methods

render()

ts
abstract render(): Component;

Defined in: types/base-graphic-type.d.ts:5

Returns

Component

Implementation of

IGraphicType.render


renderTool()

ts
abstract renderTool(): Component;

Defined in: types/base-graphic-type.d.ts:6

Returns

Component

Implementation of

IGraphicType.renderTool


renderPropertyPanel()

ts
abstract renderPropertyPanel(): Component;

Defined in: types/base-graphic-type.d.ts:7

Returns

Component

Implementation of

IGraphicType.renderPropertyPanel


createElement()

ts
abstract createElement(x, y): IGraphicElement;

Defined in: types/base-graphic-type.d.ts:8

Parameters

ParameterType
xnumber
ynumber

Returns

IGraphicElement

Implementation of

IGraphicType.createElement

基于 MIT 许可发布