Package | com.google.maps.styles |
Class | public class BevelStyle |
Inheritance | BevelStyle ![]() |
Subclasses | ButtonFaceStyle |
Property | Defined by | ||
---|---|---|---|
bevelAlpha : Object
A number that specifies the bevel's alpha.
| BevelStyle | ||
bevelStyle : Object
Bevel type (one of BevelStyle.NONE, BevelStyle.RAISED or
BevelStyle.LOWERED).
| BevelStyle | ||
bevelThickness : Object
A number that specifies the bevel's thickness.
| BevelStyle | ||
![]() | fillStyle : FillStyle
Rectangle's fill style.
| RectangleStyle | |
highlightColor : Object
A number that specifies the bevel's highlight color.
| BevelStyle | ||
shadowColor : Object
A number that specifies the bevel's shadow color.
| BevelStyle | ||
![]() | strokeStyle : StrokeStyle
Rectangle's stroke style.
| RectangleStyle |
Method | Defined by | ||
---|---|---|---|
BevelStyle(params:Object = null)
Constructs a BevelStyle instance, optionally initializing it
from an object.
| BevelStyle | ||
mergeStyles(styles:Array):BevelStyle
[static]
Merges two or more BevelStyle objects.
| BevelStyle | ||
toString():String
Returns a String representation of this object.
| BevelStyle |
Constant | Defined by | ||
---|---|---|---|
BEVEL_LOWERED : Number = 2 [static]
Lowered bevel.
| BevelStyle | ||
BEVEL_NONE : Number = 0 [static]
No bevel.
| BevelStyle | ||
BEVEL_RAISED : Number = 1 [static]
Raised bevel.
| BevelStyle |
bevelAlpha | property |
bevelAlpha:Object
[read-write]A number that specifies the bevel's alpha.
Implementation public function get bevelAlpha():Object
public function set bevelAlpha(value:Object):void
bevelStyle | property |
bevelStyle:Object
[read-write]Bevel type (one of BevelStyle.NONE, BevelStyle.RAISED or BevelStyle.LOWERED).
Implementation public function get bevelStyle():Object
public function set bevelStyle(value:Object):void
bevelThickness | property |
bevelThickness:Object
[read-write]A number that specifies the bevel's thickness.
Implementation public function get bevelThickness():Object
public function set bevelThickness(value:Object):void
highlightColor | property |
highlightColor:Object
[read-write]A number that specifies the bevel's highlight color.
Implementation public function get highlightColor():Object
public function set highlightColor(value:Object):void
shadowColor | property |
shadowColor:Object
[read-write]A number that specifies the bevel's shadow color.
Implementation public function get shadowColor():Object
public function set shadowColor(value:Object):void
BevelStyle | () | constructor |
public function BevelStyle(params:Object = null)
Constructs a BevelStyle instance, optionally initializing it from an object.
Parametersparams:Object (default = null ) — An initialization object that contains a set of initial
values for the new BevelStyle object.
|
var style:BevelStyle = new BevelStyle({ bevelStyle: BevelStyle.BEVEL_RAISED, bevelThickness: 1, bevelAlpha: 0.5, highlightColor: 0xff0040, shadowColor: 0x000000, fillStyle: { color: 0xa0a0a0, alpha: 1 }, strokeStyle: { color: 0x000000, alpha: 2 } });
mergeStyles | () | method |
public static function mergeStyles(styles:Array):BevelStyle
Merges two or more BevelStyle objects. Styles are merged in order they come in the array, properties of styles with larger indices in the array overriding values that came earlier.
Parametersstyles:Array — An array of BevelStyle objects to merge.
|
BevelStyle |
toString | () | method |
public override function toString():String
Returns a String representation of this object.
ReturnsString — String representation of the style.
|
BEVEL_LOWERED | constant |
public static const BEVEL_LOWERED:Number = 2
Lowered bevel.
BEVEL_NONE | constant |
public static const BEVEL_NONE:Number = 0
No bevel.
BEVEL_RAISED | constant |
public static const BEVEL_RAISED:Number = 1
Raised bevel.