Interface: Prefs

SVGEditor.Prefs

Preferences.

Properties:
Name Type Attributes Default Description
lang string <optional>
"en"

Two-letter language code. The language must exist in the Editor Preferences language list. Defaults to "en" if locale.js detection does not detect another language.

bkgd_color string <optional>
"#FFF"

Color hex for canvas background color. Defaults to white.

bkgd_url string <optional>
""

Background raster image URL. This image will fill the background of the document; useful for tracing purposes.

img_save "embed" | "ref" <optional>
"embed"

Defines whether included raster images should be saved as Data URIs when possible, or as URL references. Settable in the Document Properties dialog.

save_notice_done boolean <optional>
false

Used to track alert status

export_notice_done boolean <optional>
false

Used to track alert status

Source:
To Do:
  • `save_notice_done` and `export_notice_done` should be changed to flags rather than preferences