English
IPNL_ExpandShapeOption interface
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
形状扩展参数
Signature
typescript
interface IPNL_ExpandShapeOption1
Remarks
收缩或扩展的幅度与方式合成一份参数;方向由方式决定,数值为距离或缩放比例。缩到 1px 以下或扩到 4500px 以上的图元会被跳过而不报错
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
boolean | (ALPHA) (Optional) 是否删除原图元,不传为保留 | ||
(ALPHA) (Optional) 结果图元落到的图层,不传沿用原图层 | |||
(ALPHA) 扩展方式 | |||
number | (ALPHA) 扩展距离(px,向内收缩 / 向外扩展时使用)或缩放比例(按比例缩放时使用,1 表示原尺寸) |