Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FileImageParams

Hierarchy

  • FileImageParams

Index

Properties

Optional Readonly format

A string enum for the image output format, can be "jpg", "png", "svg", or "pdf"

Readonly ids

ids: ReadonlyArray<string>

A list of node IDs to render

Optional Readonly scale

scale: undefined | number

A number between 0.01 and 4, the image scaling factor

Optional Readonly svg_include_id

svg_include_id: undefined | false | true

Whether to include id attributes for all SVG elements.

default

false

Optional Readonly svg_simplify_stroke

svg_simplify_stroke: undefined | false | true

Whether to simplify inside/outside strokes and use stroke attribute if possible instead of .

default

true

Optional Readonly use_absolute_bounds

use_absolute_bounds: undefined | false | true

Use the full dimensions of the node regardless of whether or not it is cropped or the space around it is empty. Use this to export text nodes without cropping.

default

false

Optional Readonly version

version: undefined | string

A specific version ID to use. Omitting this will use the current version of the file

Generated using TypeDoc