new TAttMarkerHandler(args)
Handle for marker attributes
Parameters:
Name | Type | Description |
---|---|---|
args |
object | attributes, see |
- Source:
Methods
apply()
Apply marker styles to created element
- Source:
change(color, style, size)
Change marker attributes.
Parameters:
Name | Type | Description |
---|---|---|
color |
string | marker color |
style |
number | marker style |
size |
number | marker size |
- Source:
create(x, y) → {string}
Create marker path for given position.
When drawing many elementary points, created path may depend from previously produced markers.
Parameters:
Name | Type | Description |
---|---|---|
x |
number | first coordinate |
y |
number | second coordinate |
- Source:
Returns:
path string
- Type
- string
empty()
returns true if marker attributes will produce empty (invisible) output
- Source:
getFillColor()
get fill color
- Source:
getFullSize()
Returns full size of marker
- Source:
getMarkerLength()
Returns approximate length of produced marker string
- Source:
getStrokeColor()
get stroke color
- Source:
setArgs(args)
Set marker attributes.
Parameters:
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
args |
object | arguments can be Properties
|
- Source: