Skip to content

Interface: IExportOptions

Table of contents

Properties

Properties

quality

Optional quality: number

Defined in

leafer/packages/interface/src/file/IExport.ts:8


blob

Optional blob: boolean

Defined in

leafer/packages/interface/src/file/IExport.ts:9


scale

Optional scale: number

Defined in

leafer/packages/interface/src/file/IExport.ts:10


pixelRatio

Optional pixelRatio: number

Defined in

leafer/packages/interface/src/file/IExport.ts:11


slice

Optional slice: boolean

Defined in

leafer/packages/interface/src/file/IExport.ts:12


trim

Optional trim: boolean

Defined in

leafer/packages/interface/src/file/IExport.ts:13


fill

Optional fill: string

Defined in

leafer/packages/interface/src/file/IExport.ts:14


screenshot

Optional screenshot: boolean | IBoundsData

Defined in

leafer/packages/interface/src/file/IExport.ts:15


relative

Optional relative: ILeaf | ILocationType

Defined in

leafer/packages/interface/src/file/IExport.ts:16


onCanvas

Optional onCanvas: IExportOnCanvasFunction

Defined in

leafer/packages/interface/src/file/IExport.ts:17

Released under the MIT License.