documentationfor yFiles for HTML 3.0.0.3

RenderTree

Manages the tree of IRenderTreeElements and IRenderTreeGroups that render elements inside a CanvasComponent

Inheritance Hierarchy
RenderTree

Remarks

This class keeps all relevant state and provides access to helper methods around the management of the render tree.

You don't create an instance of this type, but get it from the associated CanvasComponent's renderTree property.

It provides references to the predefined groups that are used for rendering various important parts of a CanvasComponent:

  • foregroundGroup – Elements that are rendered in the foreground of the visualization and in front of the actual contents.
  • inputModeGroup – Elements that are rendered typically in front of everything else and that typically only exist temporarily during user interaction like handles, marquee selection boxes, etc.
  • highlightGroup – A layer of elements that add a highlighting effect at the top of the visualization, but behind the interaction decorators.
  • focusGroup – A layer for showing the highlight to the user where the keyboard focus is.
  • selectionGroup – Layer showing the selection decoration for the contents.
  • contentGroup – The actual "contents" being displayed to the user, without any selection or input decoration, and excluding background rendering.
  • backgroundGroup – Elements that are rendered in the background of the visualization and behind the actual contents. The user typically does not interact with this group directly.

This class cannot be instantiated

Type Details

yFiles module
view

Properties

Methods