| Package | rdfbrowser.components |
| Class | public class CanvasItem |
| Inheritance | CanvasItem mx.containers.Canvas |
| Property | Defined By | ||
|---|---|---|---|
| fill : Number
Value of the property associated to the fill visualization parameter. | CanvasItem | ||
| radius : Number
Value of the property associated to the radius visualization parameter. | CanvasItem | ||
| title : String
Short description of the item. | CanvasItem | ||
| transparency : Number
Value of the property associated to the alpha visualization parameter. | CanvasItem | ||
| Method | Defined By | ||
|---|---|---|---|
CanvasItem(radius:Number, fill:Number, transparency:Number, colorNormal:uint, colorHighlighted:uint, title:String)
CanvasItem class constructor. | CanvasItem | ||
draw():void
This function draws the item. | CanvasItem | ||
setAlpha(maxTransparency:Number):void
This function sets the alpha of the item (expressed in percentage). | CanvasItem | ||
setFill(maxFill:Number):void
This function sets the fill of the item (expressed in percentage respect the radius of the circle). | CanvasItem | ||
setRadius(maxRadius:Number):void
This function sets the radius of the item. | CanvasItem | ||
setXY(xPosition:Number, yPosition:Number):void
This function sets the position of the item. | CanvasItem | ||
| fill | property |
public var fill:NumberValue of the property associated to the fill visualization parameter.
| radius | property |
public var radius:NumberValue of the property associated to the radius visualization parameter.
| title | property |
public var title:StringShort description of the item.
| transparency | property |
public var transparency:NumberValue of the property associated to the alpha visualization parameter.
| CanvasItem | () | Constructor |
public function CanvasItem(radius:Number, fill:Number, transparency:Number, colorNormal:uint, colorHighlighted:uint, title:String)CanvasItem class constructor.
Parametersradius:Number — Value of the property associated to the radius visualization parameter.
| |
fill:Number — Value of the property associated to the fill visualization parameter.
| |
transparency:Number — Value of the property associated to the alpha visualization parameter.
| |
colorNormal:uint — Color of the outer circle of the item.
| |
colorHighlighted:uint — Color of the inner circle of the item.
| |
title:String — Shor description of the item.
|
| draw | () | method |
public function draw():voidThis function draws the item.
| setAlpha | () | method |
public function setAlpha(maxTransparency:Number):voidThis function sets the alpha of the item (expressed in percentage).
Parameters
maxTransparency:Number — Maximum value of the property associated to the alpha parameter.
|
| setFill | () | method |
public function setFill(maxFill:Number):voidThis function sets the fill of the item (expressed in percentage respect the radius of the circle).
Parameters
maxFill:Number — Maximum value of the property associated to the fill parameter.
|
| setRadius | () | method |
public function setRadius(maxRadius:Number):voidThis function sets the radius of the item.
Parameters
maxRadius:Number — Maximum value of the property associated to the radius parameter.
|
| setXY | () | method |
public function setXY(xPosition:Number, yPosition:Number):voidThis function sets the position of the item.
Parameters
xPosition:Number — Coordinate x.
| |
yPosition:Number — Coordinate y.
|