Packagecom.esri.ags.symbol
Classpublic class LineSymbol
InheritanceLineSymbol Inheritance Symbol Inheritance flash.events.EventDispatcher
SubclassesSimpleLineSymbol

Base class for line symbols. Use its subclasses (CartographicLineSymbol or SimpleLineSymbol) directly to draw lines on the graphics layer.

See also

SimpleLineSymbol
CartographicLineSymbol


Public Properties
 PropertyDefined by
  alpha : Number
Line symbol alpha (transparency).
LineSymbol
  color : uint
Line symbol color.
LineSymbol
  width : Number
Line symbol width in pixels.
LineSymbol
Public Methods
 MethodDefined by
 Inherited
clear(sprite:Sprite):void
Clears the graphics that were drawn to the sprite object.
Symbol
 Inherited
destroy(sprite:Sprite):void
Removes all the graphics that were drawn to the sprite object and resets its properties.
Symbol
 Inherited
draw(sprite:Sprite, geometry:Geometry, attributes:Object, map:Map):void
Draw the graphics on the sprite object.
Symbol
Protected Methods
 MethodDefined by
 Inherited
Helper function to dispatch a change event.
Symbol
 Inherited
removeAllChildren(sprite:Sprite):void
Removes all children from the sprite object.
Symbol
 Inherited
toScreenX(map:Map, mapX:Number):Number
Converts the x-coordinate of map point to a screen point.
Symbol
 Inherited
toScreenY(map:Map, mapY:Number):Number
Converts the y-coordinate of map point to a screen point.
Symbol
Property detail
alphaproperty
alpha:Number  [read-write]

Line symbol alpha (transparency). Possible values range from 0.0 (invisible, fully transparent) to 1.0 (opaque, fully visible).

The default value is 1.0 (opaque, fully visible).

This property can be used as the source for data binding.

Implementation
    public function get alpha():Number
    public function set alpha(value:Number):void
colorproperty 
color:uint  [read-write]

Line symbol color.

The default value is 0x000000 (black).

This property can be used as the source for data binding.

Implementation
    public function get color():uint
    public function set color(value:uint):void
widthproperty 
width:Number  [read-write]

Line symbol width in pixels.

The default value is 1 pixel.

This property can be used as the source for data binding.

Implementation
    public function get width():Number
    public function set width(value:Number):void