Package | com.google.maps.styles |
Class | public class StrokeStyle |
Property | Defined by | ||
---|---|---|---|
alpha : Object
A Number value that specifies the stroke alpha.
| StrokeStyle | ||
color : Object
A Number value that specifies the stroke color.
| StrokeStyle | ||
pixelHinting : Object
A Boolean value that specifies whether pixel hinting is applied.
| StrokeStyle | ||
thickness : Object
A Number value that specifies the stroke thickness.
| StrokeStyle |
Method | Defined by | ||
---|---|---|---|
StrokeStyle(params:Object = null)
Constructs a new StrokeStyle object, optionally initializing it from
an object.
| StrokeStyle | ||
mergeStyles(styles:Array):StrokeStyle
[static]
Merges two or more StrokeStyle objects.
| StrokeStyle | ||
toString():String
Returns a String representation of this object.
| StrokeStyle |
alpha | property |
alpha:Object
[read-write]A Number value that specifies the stroke alpha.
Implementation public function get alpha():Object
public function set alpha(value:Object):void
color | property |
color:Object
[read-write]A Number value that specifies the stroke color.
Implementation public function get color():Object
public function set color(value:Object):void
See also
pixelHinting | property |
pixelHinting:Object
[read-write]A Boolean value that specifies whether pixel hinting is applied.
Implementation public function get pixelHinting():Object
public function set pixelHinting(value:Object):void
thickness | property |
thickness:Object
[read-write]A Number value that specifies the stroke thickness.
Implementation public function get thickness():Object
public function set thickness(value:Object):void
StrokeStyle | () | constructor |
public function StrokeStyle(params:Object = null)
Constructs a new StrokeStyle object, optionally initializing it from an object.
Parametersparams:Object (default = null ) — An initialization object that contains a set of initial
values for the new StrokeStyle object.
|
var style:StrokeStyle = new StrokeStyle({ thickness: 2, color: 0xff8030, alpha: 0.7, pixelHinting: false });
mergeStyles | () | method |
public static function mergeStyles(styles:Array):StrokeStyle
Merges two or more StrokeStyle 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 StrokeStyle objects to merge.
|
StrokeStyle |
toString | () | method |
public function toString():String
Returns a String representation of this object.
ReturnsString — String representation of the style.
|