| Package | com.esri.ags.clusterers.supportClasses |
| Class | public class SimpleClusterSymbol |
| Inheritance | SimpleClusterSymbol Symbol flash.events.EventDispatcher |
| Since : | ArcGIS API for Flex 2.0 |
| Property | Defined By | ||
|---|---|---|---|
| alpha : Number
The alpha transparency of the cluster symbol. | SimpleClusterSymbol | ||
| alphas : Array
The alphas associated with weights. | SimpleClusterSymbol | ||
| color : uint
The color of the cluster symbol. | SimpleClusterSymbol | ||
| colors : Array
The colors associated with weights. | SimpleClusterSymbol | ||
| fractionDigits : uint
An integer between 0 and 20, inclusive, that represents the desired number of decimal places when displaying the cluster weight. | SimpleClusterSymbol | ||
| size : Number
The cell size (width) in pixels. | SimpleClusterSymbol | ||
| sizes : Array
The sizes associated with weights. | SimpleClusterSymbol | ||
| textFormat : TextFormat
The text format. | SimpleClusterSymbol | ||
| weights : Array
The weights to use as breaks when selecting a color from colors, an alpha from alphas
and a size from sizes for a cluster weight. | SimpleClusterSymbol | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new SimpleClusterSymbol instance. | SimpleClusterSymbol | ||
![]() | clear(sprite:Sprite):void
Clears the graphics that were drawn to the sprite object. | Symbol | |
![]() | createSwatch(width:Number = 50, height:Number = 50):UIComponent
Creates a swatch for a symbol which can be used in a legend. | Symbol | |
![]() | destroy(sprite:Sprite):void
Removes all the graphics that were drawn to the sprite object and resets its properties. | Symbol | |
![]() |
Draw the graphics on the sprite object. | Symbol | |
![]() |
Initialize the sprite. | Symbol | |
| alpha | property |
alpha:NumberThe alpha transparency of the cluster symbol. Possible values range from 0.0 (invisible, fully transparent) to 1.0 (opaque, fully visible).
The default value is 0.75 (semi-transparent).
This property can be used as the source for data binding.
public function get alpha():Number public function set alpha(value:Number):void| alphas | property |
alphas:Array
The alphas associated with weights.
This property can be used as the source for data binding.
public function get alphas():Array public function set alphas(value:Array):void| color | property |
color:uintThe color of the cluster symbol.
The default value is 0x76D100 (turtle green).
This property can be used as the source for data binding.
public function get color():uint public function set color(value:uint):void| colors | property |
colors:Array
The colors associated with weights.
This property can be used as the source for data binding.
public function get colors():Array public function set colors(value:Array):void| fractionDigits | property |
fractionDigits:uintAn integer between 0 and 20, inclusive, that represents the desired number of decimal places when displaying the cluster weight.
The default value is 0.
This property can be used as the source for data binding.
public function get fractionDigits():uint public function set fractionDigits(value:uint):void| size | property |
size:NumberThe cell size (width) in pixels.
The default value is 70 pixels.
This property can be used as the source for data binding.
public function get size():Number public function set size(value:Number):void| sizes | property |
sizes:Array
The sizes associated with weights.
This property can be used as the source for data binding.
public function get sizes():Array public function set sizes(value:Array):void| textFormat | property |
textFormat:TextFormatThe text format.
The default value is null.
This property can be used as the source for data binding.
public function get textFormat():TextFormat public function set textFormat(value:TextFormat):void| weights | property |
weights:Array
The weights to use as breaks when selecting a color from colors, an alpha from alphas
and a size from sizes for a cluster weight. If the cluster weight is not in the range, then the color, alpha
and size will be used as fall back values.
This property can be used as the source for data binding.
public function get weights():Array public function set weights(value:Array):void| SimpleClusterSymbol | () | Constructor |
public function SimpleClusterSymbol()Creates a new SimpleClusterSymbol instance.