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

Package | org.openscales.core.style.marker
Class | public class DisplayObjectMarker
Inheritance | DisplayObjectMarker Marker

DisplayObjectMarker defines the representation of a punctual feature as an instance of a given that extends DisplayObject

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined by
--- | --- | ---
|  | instance : DisplayObject Returns an instance of the DisplayObject that contains the graphic. | Marker
|  | opacity : Number | Marker
|  | rotation : Number | Marker
|  | size : Number | Marker
|  | xOffset : Number | DisplayObjectMarker
|  | yOffset : Number | DisplayObjectMarker

Public Methods

| Method | Defined by
--- | --- | ---
|  | DisplayObjectMarker(c:Class, xOffset:Number = 0, yOffset:Number = 0, size:Number = 6, opacity:Number = 1, rotation:Number = 0) | DisplayObjectMarker

Protected Methods

| Method | Defined by
--- | --- | ---
|  | generateGraphic():DisplayObject | DisplayObjectMarker

Property detail

xOffset | property

`xOffset:Number` [read-write]Implementation
`public function get xOffset():Number`
`public function set xOffset(value:Number):void`

yOffset | property |

`yOffset:Number` [read-write]Implementation
`public function get yOffset():Number`
`public function set yOffset(value:Number):void`
Constructor detail

DisplayObjectMarker | () | constructor

`public function DisplayObjectMarker(c:Class, xOffset:Number = 0, yOffset:Number = 0, size:Number = 6, opacity:Number = 1, rotation:Number = 0)`Parameters

| `c:Class`
| `xOffset:Number` (default = `0`)``
| `yOffset:Number` (default = `0`)``
| `size:Number` (default = `6`)``
| `opacity:Number` (default = `1`)``
| `rotation:Number` (default = `0`)``

Method detail

generateGraphic | () | method

`protected override function generateGraphic():DisplayObject`

Returns

| `DisplayObject`