Class adf.GraphicsSymbol
Defined in: core.js.
Constructor Attributes | Constructor Name and Description |
---|---|
adf.GraphicsSymbol(lineColor, lineOpacity, lineWidth, fillColor, fillOpacity)
Represents a set of symbology properties for an element placed within an adf.graphics.Element.
|
Field Attributes | Field Name and Description |
---|---|
Fill color if an area shape(oval, circle or rectangle) is drawn.
|
|
Fill opacity if an area shape(oval, circle or rectangle) is drawn.
|
|
Outline color if an area shape(oval, circle or rectangle) is drawn.
|
|
Outline opacity if an area shape(oval, circle or rectangle) is drawn.
|
|
Outline width if an area shape(oval, circle or rectangle) is drawn.
|
Class Detail
adf.GraphicsSymbol(lineColor, lineOpacity, lineWidth, fillColor, fillOpacity)
Represents a set of symbology properties for an element placed within an adf.graphics.Element.
- Parameters:
- lineColor
- {String}
- lineOpacity
- {Number} a decimal value from 0 to 1
- lineWidth
- {Integer}
- fillColor
- {String}
- fillOpacity
- {Number} a decimal value from 0 to 1
Field Detail
{String}
fillColor
Fill color if an area shape(oval, circle or rectangle) is drawn. This property does not apply to line or polyline.
- Default Value:
- "#000" (black)
{Number}
fillOpacity
Fill opacity if an area shape(oval, circle or rectangle) is drawn. This property does not apply to line or polyline.
- Default Value:
- 0
{String}
lineColor
Outline color if an area shape(oval, circle or rectangle) is drawn. Line color if a line or polyline is drawn.
- Default Value:
- "#000" (black)
{Number}
lineOpacity
Outline opacity if an area shape(oval, circle or rectangle) is drawn. Line opacity if a line or polyline is drawn.
- Default Value:
- 1
{Number}
lineWidth
Outline width if an area shape(oval, circle or rectangle) is drawn. Line width if an line or polyline is drawn.
- Default Value:
- 1