| Package | com.flexicious.components.visualization.gaugesupport |
| Class | public class GradientCircle |
| Inheritance | GradientCircle mx.core.UIComponent |
| Subclasses | GradientArc |
| Property | Defined By | ||
|---|---|---|---|
| circleSize : Number
The size of the circle to draw the dial. | GradientCircle | ||
| dialColor : Number
Color of the main face of the dial. | GradientCircle | ||
| dialColorGradientBrightness : Number
The amount to adjust the brightness of the dial color gradient by
Value should be between 0 and 100, where 100 is towards white. | GradientCircle | ||
| dialColorGradientDarkness : Number
The amoun to adjust the darkness of the dial color gradient by
Value should be between 0 and -100, where -100 is towards black. | GradientCircle | ||
| dialRimColor : Number
Color of the rim. | GradientCircle | ||
| drawBorder : Boolean
Draws a rectangle around the square
| GradientCircle | ||
| drawShadow : Boolean
Flag to draw a shadow on top
| GradientCircle | ||
| linearGradient : Boolean
Flag to enable linear gradient. | GradientCircle | ||
| Method | Defined By | ||
|---|---|---|---|
| GradientCircle | |||
drawCircle():void
Draws the atual circles. | GradientCircle | ||
| Method | Defined By | ||
|---|---|---|---|
measure():void [override]
Just give the GradientCircle a default size 50x50. | GradientCircle | ||
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void [override] | GradientCircle | ||
| circleSize | property |
circleSize:NumberThe size of the circle to draw the dial. This is used to draw the rim, the dial in concentric circles. Default: 100
This property can be used as the source for data binding.
public function get circleSize():Number public function set circleSize(value:Number):void| dialColor | property |
dialColor:NumberColor of the main face of the dial. This is used in a gradient combination by adjusting the brightness from light to dark. The values applied are dialColorGradientDarkness for dark, and dialColorGradientBrightness for light. The gradient used is linear by default. You can change this to radial if you set linearGradient to false. When you use radial gradient, the brightness values are reversed for visual effect. Default: 0xAFAFAF
This property can be used as the source for data binding.
public function get dialColor():Number public function set dialColor(value:Number):void| dialColorGradientBrightness | property |
dialColorGradientBrightness:NumberThe amount to adjust the brightness of the dial color gradient by Value should be between 0 and 100, where 100 is towards white. Default: 20
public function get dialColorGradientBrightness():Number public function set dialColorGradientBrightness(value:Number):void| dialColorGradientDarkness | property |
dialColorGradientDarkness:NumberThe amoun to adjust the darkness of the dial color gradient by Value should be between 0 and -100, where -100 is towards black. Default: -35
public function get dialColorGradientDarkness():Number public function set dialColorGradientDarkness(value:Number):void| dialRimColor | property |
dialRimColor:NumberColor of the rim. Used to draw the mettalic rims around the dial. Two concentric circles are drawn with variable radii, to acheieve mettalic light effect. Default: 0xAFAFAF
This property can be used as the source for data binding.
public function get dialRimColor():Number public function set dialRimColor(value:Number):void| drawBorder | property |
drawBorder:BooleanDraws a rectangle around the square
public function get drawBorder():Boolean public function set drawBorder(value:Boolean):void| drawShadow | property |
drawShadow:BooleanFlag to draw a shadow on top
public function get drawShadow():Boolean public function set drawShadow(value:Boolean):void| linearGradient | property |
linearGradient:BooleanFlag to enable linear gradient. The gradient used is linear by default. You can change this to radial if you set linearGradient to false. When you use radial gradient, the brightness values used for dialColor are reversed for visual effect Default: true
This property can be used as the source for data binding.
public function get linearGradient():Boolean public function set linearGradient(value:Boolean):void| GradientCircle | () | Constructor |
public function GradientCircle()| drawCircle | () | method |
public function drawCircle():voidDraws the atual circles.
| measure | () | method |
override protected function measure():voidJust give the GradientCircle a default size 50x50. If user specifies size, we wont need to call measure.
| updateDisplayList | () | method |
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):voidParameters
unscaledWidth:Number | |
unscaledHeight:Number |