evCreate API 5.7 Help

EvTransparency Interface

The EvTransparency TS interface defines a blueprint of a JS object that describes the transparency of an object item. It specifies how to draw a given transparent object item.

Properties

An EvTransparency object has the following properties:

area: EvTransparencyArea;

A member of the EvTransparencyArea enumeration, parts of a given object item affected by transparency.

blendMode: EvTrspBlendMode;

A member of the EvTrspBlendMode enumeration, the blend mode applied to draw the transparency effect.

value: number;

A number, a value from 0 to 100 that defines how transparent a given object item is, where:

  • 0: fully opaque.

  • 100: fully transparent.

Examples

TS

{ area: EvTransparencyArea.FillOnly, blendMode: EvTrspBlendMode.SoftLight, value: 50 }

JS

{ area: "fill_only", blendMode: "softlight", value: 50 }
25 March 2025