documentationfor yFiles for HTML 2.6

HtmlCanvasVisual

Base class for Visuals that use HTML5's Canvas for the visualization.

Inheritance Hierarchy
Visual
HtmlCanvasVisual

Remarks

Note that instances of this class cannot be used anywhere where a Visual is required. The visualization is implemented by the paint method. This means that this kind of visual does not work in a SvgVisualGroup and wrapping the visual will not work as there is no SVGElement that could be put into another SVG container. These kind of visuals can be used at the top-level of a CanvasComponent's ICanvasObjects, only.

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.view.HtmlCanvasVisual

See Also

Constructors

Methods