Skip to content

Interface: FigureExportOptions ​

Defined in: StylePresets.ts:142

Properties ​

preset? ​

ts
preset?: 
  | SurfViewStylePresetName
  | SurfViewStylePreset;

Defined in: StylePresets.ts:143


width? ​

ts
width?: number;

Defined in: StylePresets.ts:144


height? ​

ts
height?: number;

Defined in: StylePresets.ts:145


dpi? ​

ts
dpi?: number;

Defined in: StylePresets.ts:146


background? ​

ts
background?: FigureBackground;

Defined in: StylePresets.ts:152

Explicit background; overrides transparent and backgroundColor. When omitted, transparent falls back to the preset's figure default and the colour to the live viewer background.


transparent? ​

ts
transparent?: boolean;

Defined in: StylePresets.ts:153


colorbar? ​

ts
colorbar?: boolean;

Defined in: StylePresets.ts:154


colorbarLayer? ​

ts
colorbarLayer?: string;

Defined in: StylePresets.ts:156

Layer whose colormap, range, threshold and caps the colour key shows (default: the active layer).


colorbarLabel? ​

ts
colorbarLabel?: string;

Defined in: StylePresets.ts:157


colorbarRange? ​

ts
colorbarRange?: [number, number];

Defined in: StylePresets.ts:158


colorbarColors? ​

ts
colorbarColors?: string[];

Defined in: StylePresets.ts:159


colorbarThreshold? ​

ts
colorbarThreshold?: [number, number] | null;

Defined in: StylePresets.ts:161

Masked interval drawn as a hatched band on the key; null hides the band.


colorbarCaps? ​

ts
colorbarCaps?: Partial<FigureColorbarCaps>;

Defined in: StylePresets.ts:162


roiLabels? ​

ts
roiLabels?: boolean | FigureExportLabel[];

Defined in: StylePresets.ts:163


scaleBar? ​

ts
scaleBar?: boolean;

Defined in: StylePresets.ts:164


scaleBarLabel? ​

ts
scaleBarLabel?: string;

Defined in: StylePresets.ts:165


scaleBarLength? ​

ts
scaleBarLength?: number;

Defined in: StylePresets.ts:166


fontScale? ​

ts
fontScale?: number;

Defined in: StylePresets.ts:167


backgroundColor? ​

ts
backgroundColor?: number;

Defined in: StylePresets.ts:168


title? ​

ts
title?: string;

Defined in: StylePresets.ts:169


subtitle? ​

ts
subtitle?: string;

Defined in: StylePresets.ts:170


downloadFilename? ​

ts
downloadFilename?: string;

Defined in: StylePresets.ts:171

Released under the MIT License.