Class gui.ImageSelector
Defined in: ImageSelector.js.
Constructor Attributes | Constructor Name and Description |
---|---|
gui.ImageSelector(odfCanvas)
|
Method Attributes | Method Name and Description |
---|---|
Clears the image selection.
|
|
<inner> | |
<inner> |
getPosition(element, referenceElement)
|
isSelectorElement(node)
Check if the given node is the selector element or one of its child elements.
|
|
select(frameElement)
|
Method Detail
{undefined}
clearSelection()
Clears the image selection.
- Returns:
- {undefined}
<inner>
{!Element}
createSelectorElement()
- Returns:
- {!Element}
<inner>
{{left: !number|top: !number}}
getPosition(element, referenceElement)
- Parameters:
- {!Element} element
- {!Element} referenceElement
- Returns:
- {{left: !number|top: !number}}
{!boolean}
isSelectorElement(node)
Check if the given node is the selector element or one of its child elements.
- Parameters:
- {?Node} node
- Returns:
- {!boolean}
{undefined}
select(frameElement)
- Parameters:
- {!Element} frameElement
- Returns:
- {undefined}