Packagecom.esri.ags.clusterers.supportClasses
Classpublic class CellSymbol
InheritanceCellSymbol Inheritance Symbol Inheritance flash.events.EventDispatcher

Since : ArcGIS API for Flex 2.0

Symbol to render a cluster as a rounded corner square with cluster count in the center. Usually, this symbol is associated with a GridClusterer instance.

Visual overview of CellSymbol properties



Public Properties
 PropertyDefined By
  backgroundAlpha : Number
The background alpha of the CellSymbol.
CellSymbol
  backgroundColor : uint
The background color of the CellSymbol.
CellSymbol
  borderAlpha : Number
The border alpha of the CellSymbol.
CellSymbol
  borderColor : uint
The border color of the CellSymbol.
CellSymbol
  borderThickness : Number
The border thickness of the CellSymbol, in pixels.
CellSymbol
  cornerRadius : Number
The corner radius of the CellSymbol, in pixels.
CellSymbol
  paddingBottom : Number
The bottom padding of the CellSymbol, in pixels.
CellSymbol
  paddingLeft : Number
The left padding of the CellSymbol, in pixels.
CellSymbol
  paddingRight : Number
The right padding of the CellSymbol, in pixels.
CellSymbol
  paddingTop : Number
The top padding of the CellSymbol, in pixels.
CellSymbol
  size : Number
The cell size in pixels.
CellSymbol
  textFormat : TextFormat
The text format.
CellSymbol
Public Methods
 MethodDefined By
  
Creates a new CellSymbol instance.
CellSymbol
 Inherited
clear(sprite:Sprite):void
Clears the graphics that were drawn to the sprite object.
Symbol
 Inherited
createSwatch(width:Number = 50, height:Number = 50):UIComponent
Creates a swatch for a symbol which can be used in a legend.
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
 Inherited
initialize(sprite:Sprite, geometry:Geometry, attributes:Object, map:Map):void
Initialize the sprite.
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
backgroundAlphaproperty
backgroundAlpha:Number

The background alpha of the CellSymbol. 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 backgroundAlpha():Number
    public function set backgroundAlpha(value:Number):void
backgroundColorproperty 
backgroundColor:uint

The background color of the CellSymbol.

The default value is 0x76D100 (turtle green).

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


Implementation
    public function get backgroundColor():uint
    public function set backgroundColor(value:uint):void
borderAlphaproperty 
borderAlpha:Number

The border alpha of the CellSymbol. 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 borderAlpha():Number
    public function set borderAlpha(value:Number):void
borderColorproperty 
borderColor:uint

The border color of the CellSymbol.

The default value is 0x000000 (black).

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


Implementation
    public function get borderColor():uint
    public function set borderColor(value:uint):void
borderThicknessproperty 
borderThickness:Number

The border thickness of the CellSymbol, in pixels.

The default value is 2 pixels.

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


Implementation
    public function get borderThickness():Number
    public function set borderThickness(value:Number):void
cornerRadiusproperty 
cornerRadius:Number

The corner radius of the CellSymbol, in pixels.

The default value is 15 pixels.

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


Implementation
    public function get cornerRadius():Number
    public function set cornerRadius(value:Number):void
paddingBottomproperty 
paddingBottom:Number

The bottom padding of the CellSymbol, in pixels.

The default value is 2 pixels.

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


Implementation
    public function get paddingBottom():Number
    public function set paddingBottom(value:Number):void
paddingLeftproperty 
paddingLeft:Number

The left padding of the CellSymbol, in pixels.

The default value is 2 pixels.

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


Implementation
    public function get paddingLeft():Number
    public function set paddingLeft(value:Number):void
paddingRightproperty 
paddingRight:Number

The right padding of the CellSymbol, in pixels.

The default value is 2 pixels.

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


Implementation
    public function get paddingRight():Number
    public function set paddingRight(value:Number):void
paddingTopproperty 
paddingTop:Number

The top padding of the CellSymbol, in pixels.

The default value is 2 pixels.

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


Implementation
    public function get paddingTop():Number
    public function set paddingTop(value:Number):void
sizeproperty 
size:Number

The cell size in pixels.

The default value is 70 pixels.

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


Implementation
    public function get size():Number
    public function set size(value:Number):void
textFormatproperty 
textFormat:TextFormat

The text format.

The default value is null.

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


Implementation
    public function get textFormat():TextFormat
    public function set textFormat(value:TextFormat):void
Constructor Detail
CellSymbol()Constructor
public function CellSymbol()

Creates a new CellSymbol instance.