This interface describes the context for many operations performed on items in a canvasComponent.
Implements
- I
Remarks
This interface extends the ILookup interface to provide dynamic lookup capability.
Members
Show:
Properties
Gets the Canvas that is associated with this context.
Gets the Canvas that is associated with this context.
readonlyabstract
Implemented in
InputModeContext.canvasComponentIn the default implementations, this property automatically distinguishes between different radii depending on the last interaction event type.
This value already takes the zoom level into account.
readonlyabstract
See Also
Developer's Guide
Implemented in
InputModeContext.hitTestRadiusreadonlyabstract
Implemented in
InputModeContext.zoomMethods
Adds an element to the defs section of the document, if it has not been added yet.
Adds an element to the defs section of the document, if it has not been added yet.
abstract
Parameters
- defsSupport: ISvgDefsCreator
- The instance that is used to create and update the element and to query if the element is still referenced
Return Value
- string
- The id of the element with which it can be referenced using an url reference.
Implemented in
InputModeContext.getDefsIdTypically, this method will be called to obtain a different view or aspect of the current instance. This is quite similar to casting or using a super type or interface of this instance, but is not limited to inheritance or compile-time constraints. An instance implementing this method is not required to return non-
null implementations for the types, nor does it have to return the same instance any time. Also, it depends on the type and context whether the instance returned stays up to date or needs to be re-obtained for further use.abstract
Parameters
- type: Constructor<T>
- the type for which an instance shall be returned
Return Value
- T
- an instance that is assignable to the type or
null
See Also
Developer's Guide