evCreate API 5.7 Help

EvRenderOptions Interface

The EvRenderOptions TS interface defines a blueprint of a JS object with the configurational settings for rendering a given item into an image.

Properties

An EvRenderOptions object has the following properties:

optional antialiasing: boolean;

A Boolean, a switch to turn on (true) or off (false) antialiasing for the rendered image.

The default value is true.

optional colorMode: EvRenderColorMode;

A member of the EvRenderColorMode enumeration, the color mode of the rendered image.

The default value is "rgb".

optional dpi: number;

A number, the resolution of the rendered image in dots per inch (DPI).

The default value is 96.

optional interpolation: EvRenderInterpolation;

A member of the EvRenderInterpolation enumeration, an interpolation method used for rendering the image.

The default value is "lanczos".

optional transparency: boolean;

A Boolean, a switch to make the background of the rendered image transparent (true) or white (false).

The default value is false.

Examples

TS

{ antialiasing: false, colorMode: EvRenderColorMode.Greyscale, dpi: 72, interpolation: EvRenderInterpolation.BSpline transparency: true, }

JS

{ antialiasing: false, colorMode: "grey", dpi: 72, interpolation: "bspline" transparency: true, }
02 April 2025