API Documentation | All Packages | All Classes | Index | Frames No Frames |
Class Style

Package | org.openscales.core.style
Class | public class Style

Style describe graphical attributes used to render vectors.

Public Properties

| Property | Defined by
--- | --- | ---
|  | name : String A name for the style | Style
|  | rules : Array The list of the rules defining the style | Style

Public Methods

| Method | Defined by
--- | --- | ---
|  | Style() Class constructor. It defines default values for the attributes. | Style
|  | clone():Style | Style
|  | getDefaultCircleStyle():Style [static] | Style
|  | getDefaultLineStyle():Style [static] | Style
|  | getDefaultPointStyle():Style [static] | Style
|  | getDefaultSurfaceStyle():Style [static] | Style
|  | getDrawLineStyle():Style [static] | Style
|  | getDrawSurfaceStyle():Style [static] | Style

Property detail

name | property

`name:String` [read-write]

A name for the style

Implementation
`public function get name():String`
`public function set name(value:String):void`

rules | property |

`rules:Array` [read-write]

The list of the rules defining the style

Implementation
`public function get rules():Array`
`public function set rules(value:Array):void`
Constructor detail

Style | () | constructor

`public function Style()`

Class constructor.

It defines default values for the attributes.

Method detail

clone | () | method

`public function clone():Style`

Returns

| `Style`

getDefaultCircleStyle | () | method |

`public static function getDefaultCircleStyle():Style`

Returns

| `Style`

getDefaultLineStyle | () | method |

`public static function getDefaultLineStyle():Style`

Returns

| `Style`

getDefaultPointStyle | () | method |

`public static function getDefaultPointStyle():Style`

Returns

| `Style`

getDefaultSurfaceStyle | () | method |

`public static function getDefaultSurfaceStyle():Style`

Returns

| `Style`

getDrawLineStyle | () | method |

`public static function getDrawLineStyle():Style`

Returns

| `Style`

getDrawSurfaceStyle | () | method |

`public static function getDrawSurfaceStyle():Style`

Returns

| `Style`