Transparency of NodeRealizers

Tips & Tricks

Summary

Describes how to direct NodeRealizer not to paint its background
For a better user experience, please go to the integrated documentation viewer to read this article.

Description

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.

Categories this article belongs to:
yFiles for Java > yFiles Viewer > Displaying and Editing Graphs > Bringing Graph Elements to Life: The Realizer Concept
Applies to:
yFiles for Java 2: 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 2.10, 2.11, 2.12, 2.13, 2.14, 2.15, 2.16, 2.17, 2.18
Keywords:
transparency - hit test - fill color - NodeRealizer