Package | com.google.maps.styles |
Class | public class RectangleStyle |
Subclasses | BevelStyle |
Property | Defined by | ||
---|---|---|---|
fillStyle : FillStyle
Rectangle's fill style.
| RectangleStyle | ||
strokeStyle : StrokeStyle
Rectangle's stroke style.
| RectangleStyle |
Method | Defined by | ||
---|---|---|---|
RectangleStyle(params:Object = null)
Constructs a RectangleStyle instance, optionally initializing it
from an object.
| RectangleStyle | ||
mergeStyles(styles:Array):RectangleStyle
[static]
Merges two or more RectangleStyle objects.
| RectangleStyle | ||
toString():String
Returns a String representation of this object.
| RectangleStyle |
fillStyle | property |
fillStyle:FillStyle
[read-write]Rectangle's fill style.
Implementation public function get fillStyle():FillStyle
public function set fillStyle(value:FillStyle):void
strokeStyle | property |
strokeStyle:StrokeStyle
[read-write]Rectangle's stroke style.
Implementation public function get strokeStyle():StrokeStyle
public function set strokeStyle(value:StrokeStyle):void
RectangleStyle | () | constructor |
public function RectangleStyle(params:Object = null)
Constructs a RectangleStyle instance, optionally initializing it from an object.
Parametersparams:Object (default = null ) — An initialization object that contains a set of initial
values for the new RectangleStyle object.
|
var style:RectangleStyle = new RectangleStyle({ fillStyle: { color: 0xa0a0a0, alpha: 1 }, strokeStyle: { color: 0x000000, alpha: 2 } });
mergeStyles | () | method |
public static function mergeStyles(styles:Array):RectangleStyle
Merges two or more RectangleStyle 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 RectangleStyle objects to merge.
|
RectangleStyle |
toString | () | method |
public function toString():String
Returns a String representation of this object.
ReturnsString — String representation of the style.
|