Sets the specified class to use the class opacity.
PROCEDURE SetOpacityByClass(h : HANDLE);def vs.SetOpacityByClass(h):
return None| Name | Type | Description |
|---|---|---|
| h | HANDLE | The object which opacity will be set. |
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.
IF ( shadowOpByClass AND ( ( Len( shadowFillName ) = 0 ) OR ( shadowFillStyle <> kShadowByClass ) ) ) THEN SetOpacityByClass( LNewObj )
ELSE SetOpacity ( LNewObj , shadowOpacity );
BEGIN
SetFillColorByClass(temp_h);
SetFPatByClass(temp_h);
SetOpacityByClass(temp_h);
END; vs.SetLWByClass( objH )
vs.SetMarkerByClass( objH )
vs.SetPenColorByClass( objH )
vs.SetOpacityByClass( objH )GetOpacity | SetOpacity | GetOpacityByClass | SetOpacityByClass
Availability: from VectorWorks13.0