Members
multiselected :module
Type:
- module
- Source:
path :module
Type:
- module
- Source:
selectedElement :module
Type:
- module
- Source:
Methods
addSubPath() → {void}
- Source:
Returns:
- Type
- void
attrChanger()
- Source:
changeBlur(e) → {void}
Parameters:
Name | Type | Description |
---|---|---|
e |
PlainObject |
- Source:
Returns:
- Type
- void
changeFontSize()
- Source:
changeLengthAdjust()
- Source:
changeLetterSpacing()
- Source:
changeRectRadius()
- Source:
changeRotationAngle()
- Source:
changeTextLength()
- Source:
changeWordSpacing()
- Source:
clickAlign(pos) → {void}
Parameters:
Name | Type | Description |
---|---|---|
pos |
string | indicate the alignment relative to top, bottom, middle etc.. |
- Source:
Returns:
- Type
- void
clickAlignEle(evt) → {void}
Parameters:
Name | Type | Description |
---|---|---|
evt |
PlainObject |
- Source:
Returns:
- Type
- void
clickBold() → {false}
- Source:
Returns:
- Type
- false
clickClone() → {void}
- Source:
Returns:
- Type
- void
clickGroup() → {void}
- Source:
Returns:
- Type
- void
clickItalic() → {false}
- Source:
Returns:
- Type
- false
clickRedo() → {void}
- Source:
Returns:
- Type
- void
clickTextAnchor() → {false}
Sets the text anchor value
- Source:
Returns:
- Type
- false
clickTextDecoration(value) → {boolean}
Handles the click on the text decoration buttons
Parameters:
Name | Type | Description |
---|---|---|
value |
The text decoration value |
- Source:
Returns:
false
- Type
- boolean
clickUndo() → {void}
- Source:
Returns:
- Type
- void
clickWireframe() → {void}
- Source:
Returns:
- Type
- void
clonePathNode() → {void}
- Source:
Returns:
- Type
- void
convertToPath() → {void}
- Source:
Returns:
- Type
- void
deletePathNode() → {void}
- Source:
Returns:
- Type
- void
deleteSelected() → {void}
Delete is a contextual tool that only appears in the ribbon if an element has been selected.
- Source:
Returns:
- Type
- void
displayTool()
- Source:
hideTool()
- Source:
init()
- Source:
linkControlPoints() → {void}
- Source:
Returns:
- Type
- void
makeHyperlink() → {void}
- Source:
Returns:
Resolves to undefined
- Type
- void
moveToBottomSelected() → {void}
- Source:
Returns:
- Type
- void
moveToTopSelected() → {void}
- Source:
Returns:
- Type
- void
opencloseSubPath() → {void}
- Source:
Returns:
- Type
- void
promptImgURL(optsopt) → {void}
Parameters:
Name | Type | Attributes | Default | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
PlainObject |
<optional> |
{} |
Properties
|
- Source:
Returns:
Resolves to undefined
- Type
- void
reorientPath() → {void}
- Source:
Returns:
- Type
- void
setStrokeOpt(opt, changeElem) → {void}
Parameters:
Name | Type | Description |
---|---|---|
opt |
Element | |
changeElem |
boolean |
- Source:
Returns:
- Type
- void
showSourceEditor(eopt, forSaving) → {void}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
e |
Event |
<optional> |
Not used. |
forSaving |
boolean |
- Source:
Returns:
- Type
- void
togglePathEditMode(editmode, elems) → {void}
Parameters:
Name | Type | Description |
---|---|---|
editmode |
boolean | |
elems |
module:svgcanvas.SvgCanvas#event:selected |
- Source:
Returns:
- Type
- void
update() → {void}
Updates the toolbar (colors, opacity, etc) based on the selected element. This function also updates the opacity and id elements that are in the context panel.
- Source:
Returns:
- Type
- void
updateContextPanel() → {void}
Updates the context panel tools based on the selected element.
- Source:
Returns:
- Type
- void
updateTitle()
- Source: