Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.04 KB

File metadata and controls

33 lines (25 loc) · 1.04 KB

GetOpacity

Description

Gets the opacity of and object. Opacity is obtained as percentage value in range [0-100].

PROCEDURE GetOpacity(
				h           : HANDLE;
				VAR opacity : INTEGER);
def vs.GetOpacity(h):
    return opacity

Parameters

Name Type Description
h HANDLE The object which opacity will be get.
opacity INTEGER Output parameter. Return the object's opacity as percentage value in range [0-100].

Remarks

If you set opacity to an object inside parametric the actual opacity will be combined with the opacity of the parametric object itself. For example a rectangle with 50% opacity inside a parametric with 50% opacity will actually be rendered with 25% opacity. This behavior is the same for symbols too.

See Also

GetOpacity | SetOpacity | GetOpacityByClass | SetOpacityByClass

Version

Availability: from VectorWorks13.0

Category