| Package | com.mapquest.tilemap.controls |
| Class | public class DrawnBackgroundControl |
| Inheritance | DrawnBackgroundControl Control flash.display.Sprite |
| Subclasses | LargeZoomControl, PanControl, ZoomBarControl, ZoomControl |
| Property | Defined by | ||
|---|---|---|---|
| background : ControlBackground | DrawnBackgroundControl | ||
| backgroundAlpha : Number = 0.7 | DrawnBackgroundControl | ||
| backgroundColor : uint = 0xffffff | DrawnBackgroundControl | ||
| backgroundEllipseHeight : Number = 14 | DrawnBackgroundControl | ||
| backgroundEllipseWidth : Number = 14 | DrawnBackgroundControl | ||
| backgroundHeight : Number | DrawnBackgroundControl | ||
| backgroundWidth : Number | DrawnBackgroundControl | ||
| borderAlpha : Number = 0.7 | DrawnBackgroundControl | ||
| borderColor : uint = 0x000000 | DrawnBackgroundControl | ||
| borderSize : Number = 1.0 | DrawnBackgroundControl | ||
| includeBackground : Boolean = true | DrawnBackgroundControl | ||
![]() | map : TileMap | Control | |
![]() | position : MapCornerPlacement | Control | |
| roundedBackground : Boolean = true | DrawnBackgroundControl | ||
| shadowAlpha : Number = 0.5 | DrawnBackgroundControl | ||
| shadowOffsetX : int = 4 | DrawnBackgroundControl | ||
| shadowOffsetY : int = 3 | DrawnBackgroundControl | ||
![]() | type : int | Control | |
| useShadow : Boolean = true | DrawnBackgroundControl | ||
| Method | Defined by | ||
|---|---|---|---|
| DrawnBackgroundControl | |||
|
getBackgroundAlpha():Number
| DrawnBackgroundControl | ||
|
getBackgroundColor():uint
| DrawnBackgroundControl | ||
|
getBackgroundEllipseHeight():Number
Gets height of the ellipse used to draw a rounded border around LargeZoomControl.
| DrawnBackgroundControl | ||
|
getBackgroundEllipseWidth():Number
Gets width of the ellipse used to draw a rounded border around LargeZoomControl.
| DrawnBackgroundControl | ||
|
getBorderAlpha():Number
| DrawnBackgroundControl | ||
|
getBorderColor():uint
| DrawnBackgroundControl | ||
|
getBorderSize():Number
| DrawnBackgroundControl | ||
![]() |
getHeight():int
Determines the height of the control by selecting the greatest height from all elements in the control subtree.
| Control | |
|
getIncludeBackground():Boolean
| DrawnBackgroundControl | ||
![]() |
Returns the position of the this control.
| Control | |
![]() |
getType():int
| Control | |
![]() |
getWidth():int
Determines the width of the control by selecting the greatest width from all elements in the the control subtree.
| Control | |
![]() |
initialize(map:TileMap):void
Initialize the Control.
| Control | |
|
isBackgroundRounded():Boolean
Returns true if a rounded background is shown, false if background is rectangle
| DrawnBackgroundControl | ||
![]() |
isPrintable():Boolean
| Control | |
|
setBackgroundAlpha(alpha:Number):void
Sets Alpha value for background, 0 to 1.0, of background
| DrawnBackgroundControl | ||
|
setBackgroundColor(color:uint):void
Sets Background color background
| DrawnBackgroundControl | ||
|
setBackgroundEllipseHeight(ellipseHeight:Number):void
Sets height of the ellipse used to draw a rounded border around LargeZoomControl.
| DrawnBackgroundControl | ||
|
setBackgroundEllipseWidth(ellipseWidth:Number):void
Sets width of the ellipse used to draw a rounded border around LargeZoomControl.
| DrawnBackgroundControl | ||
|
setBorderAlpha(alpha:Number):void
Sets Alpha value for border, 0 to 1.0
| DrawnBackgroundControl | ||
|
setBorderColor(color:uint):void
Sets border color of background
| DrawnBackgroundControl | ||
|
setBorderSize(size:Number):void
Sets border size in pixels of background
| DrawnBackgroundControl | ||
|
setIncludeBackground(includeBackground:Boolean):void
Sets background boolean
| DrawnBackgroundControl | ||
![]() |
setPosition(p:MapCornerPlacement):void
| Control | |
![]() |
setPrintable(b:Boolean):void
| Control | |
|
setRoundedBackground(isRounded:Boolean):void
Sets true if a rounded background is shown, false if background is rectangle
| DrawnBackgroundControl | ||
| Method | Defined by | ||
|---|---|---|---|
|
draw():void
| DrawnBackgroundControl | ||
|
redraw():void
| DrawnBackgroundControl | ||
| background | property |
protected var background:ControlBackground
| backgroundAlpha | property |
protected var backgroundAlpha:Number = 0.7
| backgroundColor | property |
protected var backgroundColor:uint = 0xffffff
| backgroundEllipseHeight | property |
protected var backgroundEllipseHeight:Number = 14
| backgroundEllipseWidth | property |
protected var backgroundEllipseWidth:Number = 14
| backgroundHeight | property |
protected var backgroundHeight:Number
| backgroundWidth | property |
protected var backgroundWidth:Number
| borderAlpha | property |
protected var borderAlpha:Number = 0.7
| borderColor | property |
protected var borderColor:uint = 0x000000
| borderSize | property |
protected var borderSize:Number = 1.0
| includeBackground | property |
protected var includeBackground:Boolean = true
| roundedBackground | property |
protected var roundedBackground:Boolean = true
| shadowAlpha | property |
protected var shadowAlpha:Number = 0.5
| shadowOffsetX | property |
protected var shadowOffsetX:int = 4
| shadowOffsetY | property |
protected var shadowOffsetY:int = 3
| useShadow | property |
protected var useShadow:Boolean = true
| DrawnBackgroundControl | () | constructor |
public function DrawnBackgroundControl()
| draw | () | method |
protected function draw():void
| getBackgroundAlpha | () | method |
public function getBackgroundAlpha():NumberReturns
Number |
| getBackgroundColor | () | method |
public function getBackgroundColor():uintReturns
uint |
| getBackgroundEllipseHeight | () | method |
public function getBackgroundEllipseHeight():NumberGets height of the ellipse used to draw a rounded border around LargeZoomControl.
ReturnsNumber |
| getBackgroundEllipseWidth | () | method |
public function getBackgroundEllipseWidth():NumberGets width of the ellipse used to draw a rounded border around LargeZoomControl.
ReturnsNumber |
| getBorderAlpha | () | method |
public function getBorderAlpha():NumberReturns
Number |
| getBorderColor | () | method |
public function getBorderColor():uintReturns
uint |
| getBorderSize | () | method |
public function getBorderSize():NumberReturns
Number |
| getIncludeBackground | () | method |
public function getIncludeBackground():BooleanReturns
Boolean |
| isBackgroundRounded | () | method |
public function isBackgroundRounded():BooleanReturns true if a rounded background is shown, false if background is rectangle
ReturnsBoolean |
| redraw | () | method |
protected function redraw():void
| setBackgroundAlpha | () | method |
public function setBackgroundAlpha(alpha:Number):voidSets Alpha value for background, 0 to 1.0, of background
Parametersalpha:Number — Alpha value for background, 0 to 1.0, of background
|
| setBackgroundColor | () | method |
public function setBackgroundColor(color:uint):voidSets Background color background
Parameterscolor:uint — Background color background
|
| setBackgroundEllipseHeight | () | method |
public function setBackgroundEllipseHeight(ellipseHeight:Number):voidSets height of the ellipse used to draw a rounded border around LargeZoomControl.
ParametersellipseHeight:Number — height of the ellipse used to draw a rounded border around LargeZoomControl.
|
| setBackgroundEllipseWidth | () | method |
public function setBackgroundEllipseWidth(ellipseWidth:Number):voidSets width of the ellipse used to draw a rounded border around LargeZoomControl.
ParametersellipseWidth:Number — width of the ellipse used to draw a rounded border around LargeZoomControl.
|
| setBorderAlpha | () | method |
public function setBorderAlpha(alpha:Number):voidSets Alpha value for border, 0 to 1.0
Parametersalpha:Number — Alpha value for border, 0 to 1.0
|
| setBorderColor | () | method |
public function setBorderColor(color:uint):voidSets border color of background
Parameterscolor:uint — border color of background
|
| setBorderSize | () | method |
public function setBorderSize(size:Number):voidSets border size in pixels of background
Parameterssize:Number — border size in pixels of background
|
| setIncludeBackground | () | method |
public function setIncludeBackground(includeBackground:Boolean):voidSets background boolean
ParametersincludeBackground:Boolean — background flag
|
| setRoundedBackground | () | method |
public function setRoundedBackground(isRounded:Boolean):voidSets true if a rounded background is shown, false if background is rectangle
ParametersisRounded:Boolean — true to turn on rounded background, false for rectangle
|