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 | IPointData

Defined in

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


size

Optional size: number | ISizeData

Defined in

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


smooth

Optional smooth: boolean

Defined in

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


pixelRatio

Optional pixelRatio: number

Defined in

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


slice

Optional slice: boolean

Defined in

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


trim

Optional trim: boolean

Defined in

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


fill

Optional fill: string

Defined in

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


screenshot

Optional screenshot: boolean | IBoundsData

Defined in

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


relative

Optional relative: ILeaf | ILocationType

Defined in

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


json

Optional json: IJSONOptions

Defined in

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


contextSettings

Optional contextSettings: ICanvasRenderingContext2DSettings

Defined in

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


onCanvas

Optional onCanvas: IExportOnCanvasFunction

Defined in

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

Released under the MIT License.