Transparency of NodeRealizers
Applies to: yFiles for Java 2.9, 2.8, 2.7, 2.6, 2.5, 2.4, 2.3, 2.2 print article email article

Type: Tips & Tricks

Describes how to direct NodeRealizer not to paint its background

There are two ways to direct NodeRealizer not to paint its background. You can either set its transparency to true or you can set the fill color either to null or to a (semi-)transparent color. Note that transparency is not implemented for on ShapeNodeRealizer with shape type RECT_3D. Also, be aware that enabling transparency also influences the standard hit test for a node. Only the border of a transparent node is sensitive to a regular hit test.

Keywords: transparency - hit test - fill color - NodeRealizer

Provide feedback:
How useful was this article?    less 1 2 3 4 5 more
Email address (optional):
COPYRIGHT © 2012 yWorks · ALL RIGHTS RESERVED imprint | terms of use | privacy policy | home