new Segment(index, item)
Parameters:
Name | Type | Description |
---|---|---|
index |
Integer | |
item |
SVGPathSeg |
- Source:
- To Do:
-
- Is `item` be more constrained here?
Methods
addGrip() → {void}
- Source:
Returns:
- Type
- void
move(dx, dy) → {void}
Parameters:
Name | Type | Description |
---|---|---|
dx |
Integer | |
dy |
Integer |
- Source:
Returns:
- Type
- void
moveCtrl(num, dx, dy) → {void}
Parameters:
Name | Type | Description |
---|---|---|
num |
Integer | |
dx |
Integer | |
dy |
Integer |
- Source:
Returns:
- Type
- void
select(y) → {void}
Parameters:
Name | Type | Description |
---|---|---|
y |
boolean |
- Source:
Returns:
- Type
- void
selectCtrls(y) → {void}
Parameters:
Name | Type | Description |
---|---|---|
y |
boolean |
- Source:
Returns:
- Type
- void
setLinked(num) → {void}
Parameters:
Name | Type | Description |
---|---|---|
num |
Integer |
- Source:
Returns:
- Type
- void
setType(newType, pts) → {void}
Parameters:
Name | Type | Description |
---|---|---|
newType |
Integer | Possible values set during |
pts |
ArgumentsArray |
- Source:
Returns:
- Type
- void
show(y) → {void}
Parameters:
Name | Type | Description |
---|---|---|
y |
boolean |
- Source:
Returns:
- Type
- void
showCtrlPts(y) → {void}
Parameters:
Name | Type | Description |
---|---|---|
y |
boolean |
- Source:
Returns:
- Type
- void
update(full) → {void}
Parameters:
Name | Type | Description |
---|---|---|
full |
boolean |
- Source:
Returns:
- Type
- void