Skip to main content

KDrawTextOption

kds-plugin-document / Exports / KDrawTextOption

Interface: KDrawTextOption

临时文字绘制选项

The KDrawTextOption class represents the option for Drawing temporary text.

Table of contents​

Properties​

Properties​

color​

• Optional color: KColor

文字颜色

The text color. Default is { r: 0, g: 0, b: 0}.

Defined in​

api.d.ts:6395


size​

• Optional size: number

文字尺寸

The text size. Default is 12.

Defined in​

api.d.ts:6403