Skip to content

GenomeSpy Core API / RasterExportOptions

Interface: RasterExportOptions

Extends

Properties

logicalWidth?

optional logicalWidth?: number

Custom width in CSS pixels. Defaults to canvas width.

Inherited from

ImageExportOptions.logicalWidth


logicalHeight?

optional logicalHeight?: number

Custom height in CSS pixels. Defaults to canvas height.

Inherited from

ImageExportOptions.logicalHeight


background?

optional background?: string

Overrides the visualization background. Null is transparent.

Inherited from

ImageExportOptions.background


mimeType?

optional mimeType?: "image/png"

Output MIME type. Default value: "image/png"


pixelRatio?

optional pixelRatio?: number

Physical image pixels per logical CSS pixel. Defaults to the device pixel ratio.