Function Namespace vonline.Annotation
Extends
vonline.Base.
Defined in: annotation.js.
Constructor Attributes | Constructor Name and Description |
---|---|
vonline.Annotation(data)
|
Method Attributes | Method Name and Description |
---|---|
createObject(canvas)
Creates the object on the given canvas
|
|
setPosition(x, y)
|
|
setRotation(deg)
|
|
setScale(x, y, origX, origY)
|
|
- Methods borrowed from class vonline.Base:
- adjustText, changeText, clickEventHandler, createText, dragEventHandler, fitsIn, getId, isConnectedTo, isResizeable, setBorder, setCanvas, setClickEventMode, setColor, setDragEventMode, setSelection, setTranslation, toJSON, updateAnnotationHandle, updateConnectionHandles, updateInlineTextHandle, updateRotationHandles, updateSelection
Method Detail
createObject(canvas)
Creates the object on the given canvas
- Parameters:
- {vonline.Canvas} canvas
createObjectId()
setAnnotationMode()
setConnectionMode()
setPosition(x, y)
- Parameters:
- x
- y
setRotation(deg)
- Parameters:
- deg
setRotationMode()
setScale(x, y, origX, origY)
- Parameters:
- x
- y
- origX
- origY
setTextMode()
updateLayout()