Packagecom.google.maps.styles
Classpublic class BevelStyle
InheritanceBevelStyle Inheritance RectangleStyle
SubclassesButtonFaceStyle

Class BevelStyle specifies a set of parameters for drawing a bevel.



Public Properties
 PropertyDefined 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
 InheritedfillStyle : 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
 InheritedstrokeStyle : StrokeStyle
Rectangle's stroke style.
RectangleStyle
Public Methods
 MethodDefined 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
Public Constants
 ConstantDefined 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
Property detail
bevelAlphaproperty
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
bevelStyleproperty 
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
bevelThicknessproperty 
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
highlightColorproperty 
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
shadowColorproperty 
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
Constructor detail
BevelStyle()constructor
public function BevelStyle(params:Object = null)

Constructs a BevelStyle instance, optionally initializing it from an object.

Parameters
params:Object (default = null) — An initialization object that contains a set of initial values for the new BevelStyle object.

Example
   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
     }
   });
   

Method detail
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.

Parameters
styles:Array — An array of BevelStyle objects to merge.

Returns
BevelStyle
toString()method 
public override function toString():String

Returns a String representation of this object.

Returns
String — String representation of the style.
Constant detail
BEVEL_LOWEREDconstant
public static const BEVEL_LOWERED:Number = 2

Lowered bevel.

BEVEL_NONEconstant 
public static const BEVEL_NONE:Number = 0

No bevel.

BEVEL_RAISEDconstant 
public static const BEVEL_RAISED:Number = 1

Raised bevel.