SetTransparency Function
Manages the transparency of a given object item from an Envision document currently opened in the Canvas Envision Creator app.
Parameters
obj: EvItemAn Object item object, an object item from the Envision document currently opened in the Canvas Envision Creator app whose transparency should be updated.
percentage: numberA number, a value from
0to100that defines how transparent a given object item should be:0: fully opaque.100: fully transparent.
mode?: EvTrspBlendModeA member of the
EvTrspBlendModeenumeration, the blend mode that should be used for drawing the transparency effect.The default value is
"normal".area?: EvTransparencyAreaA member of the
EvTransparencyAreaenumeration, parts of a given object item that should be affected by transparency updates.The default value is
"fill_only".
Return value
Promise<void>A Promise that, if fulfilled, resolves to
voidif the transparency of the given object item has been successfully updated.