documentationfor yFiles for HTML 3.0.0.2

IVisualCreator

Factory interface which is used by implementations that know how to create Visuals for rendering into a given IRenderContext.

Inheritance Hierarchy
IVisualCreator

Remarks

The methods createVisual and updateVisual manage the actual visual representation, the Visual. The createVisual method is called when the object's visualization should become visible for the first time. In the subsequent redrawing process, the updateVisual method is called with the Visual instance of the previous rendering step. In this method, the given Visual instance's values (e.g. the position) can be updated instead of creating a new Visual instance.

Keep in mind:

Type Details

yFiles module
view

See Also

Methods

Constants

Static Methods