Packagecom.yworks.canvas.input
Interfacepublic interface IHighlightPaintableInstaller
Implementors EdgeSelectionDisplayObjectCreator, RectangularHighlightPaintable

An interface for objects that can install a visual representation of a highlight decoration of an item in the model displayed in a canvas.

See also

com.yworks.canvas.model.HighlightPaintManager
com.yworks.graph.model.ISelectionPaintable


Public Methods
 MethodDefined By
  
installHighlightPaintables(context:IInputModeContext, highlightGroup:ICanvasObjectGroup, item:Object):Array
Creates and installs one or more canvas objects into the canvas that indicate a selection decoration for an item.
IHighlightPaintableInstaller
Method Detail
installHighlightPaintables()method
public function installHighlightPaintables(context:IInputModeContext, highlightGroup:ICanvasObjectGroup, item:Object):Array

Creates and installs one or more canvas objects into the canvas that indicate a selection decoration for an item.

Parameters

context:IInputModeContext — The context to add the IDisplayObjectCreator for the highlighting.
 
highlightGroup:ICanvasObjectGroup — The canvas object group to add the items to.
 
item:Object — The item to create a highlight for.

Returns
Array — An array of canvas objects this instance has installed into the CanvasComponent.

See also