Package | io.github.ycabon.markings |
Class | public class AdvancedLineSymbol |
Inheritance | AdvancedLineSymbol com.esri.ags.symbols.LineSymbol |
Implements | mx.core.IMXMLObject, com.esri.ags.utils.IJSONSupport |
fallback
symbol property.
... <mk:AdvancedLineSymbol> <s:ArrayList> <mk:SolidLinePart> <s:SolidColorStroke alpha="0.25" color="0x000000" weight="6"/> </mk:SolidLinePart> <mk:SolidLinePart> <s:SolidColorStroke color="0xBB0000" weight="5"/> </mk:SolidLinePart> <mk:SolidLinePart> <s:SolidColorStroke color="0xCC0000" weight="4"/> </mk:SolidLinePart> <mk:SolidLinePart> <s:SolidColorStroke color="0xDD0000" weight="3"/> </mk:SolidLinePart> <mk:SolidLinePart> <s:SolidColorStroke color="0xEE0000" weight="2"/> </mk:SolidLinePart> <mk:SolidLinePart> <s:SolidColorStroke color="0xFF0000" weight="1"/> </mk:SolidLinePart> </s:ArrayList> </mk:AdvancedLineSymbol> ...MXML SyntaxHide MXML Syntax
The <mk:AdvancedLineSymbol>
tag inherits all the tag attributes
of its superclass, and adds the following tag attributes:
<mk:AdvancedLineSymbol Properties lineParts="null" fallback="null" />
Default MXML PropertylineParts
See also
Property | Defined By | ||
---|---|---|---|
fallback : SimpleLineSymbol
The line symbol sent to the server when using the print task. | AdvancedLineSymbol | ||
lineParts : IList
A collection of line parts objects in charge of drawing the Polyline on screen. | AdvancedLineSymbol |
Method | Defined By | ||
---|---|---|---|
AdvancedLineSymbol(lineParts:IList = null, fallback:SimpleLineSymbol = null)
Constructor. | AdvancedLineSymbol |
fallback | property |
public var fallback:SimpleLineSymbol
The line symbol sent to the server when using the print task.
... <mk:AdvancedLineSymbol id="lineSymbolRed"> <mk:fallback> <esri:SimpleLineSymbol color="0xFF0000" style="solid" width="4" /> </mk:fallback> <s:ArrayList> <mk:SolidLinePart> <s:SolidColorStroke color="0xCC0000" weight="4"/> </mk:SolidLinePart> </s:ArrayList> </mk:AdvancedLineSymbol> ...
See also
lineParts | property |
lineParts:IList
A collection of line parts objects in charge of drawing the Polyline on screen.
A line part object must implement the io.github.ycabon.markings.lineClasses.ILinePart
interface.
Three implementations are provided out of the box:
SolidLinePart
- draws a solid style line.
DashedLinePart
- draws a dashed style line.
IconPart
- draws markers along the line using spark primitives.
This property can be used as the source for data binding.
public function get lineParts():IList
public function set lineParts(value:IList):void
See also
AdvancedLineSymbol | () | Constructor |
public function AdvancedLineSymbol(lineParts:IList = null, fallback:SimpleLineSymbol = null)
Constructor.
ParameterslineParts:IList (default = null ) — A collection of line parts.
The default value is null.
| |
fallback:SimpleLineSymbol (default = null ) — A SimpleLineSymbol for printing support.
The default value is null.
|