| Package | com.esri.ags.symbol |
| Class | public class PictureMarkerSymbol |
| Inheritance | PictureMarkerSymbol MarkerSymbol Symbol flash.events.EventDispatcher |
<esri:PictureMarkerSymbol id="pms_embedded" source="@Embed(source='assets/fire.gif')"/>
<esri:PictureMarkerSymbol
id="pms_by_url"
source="http://resources.esri.com/help/9.3/arcgisserver/apis/flex/samples/assets/blue_1.gif"/>See also
| Property | Defined by | ||
|---|---|---|---|
![]() | angle : Number
The angle of the marker.
| MarkerSymbol | |
| height : Number
Image height.
| PictureMarkerSymbol | ||
| source : Object
Source of the image.
| PictureMarkerSymbol | ||
| width : Number
Image width.
| PictureMarkerSymbol | ||
![]() | xoffset : Number
The offset on the x-axis in pixels.
| MarkerSymbol | |
![]() | yoffset : Number
The offset on the y-axis in pixels.
| MarkerSymbol | |
| Method | Defined by | ||
|---|---|---|---|
|
PictureMarkerSymbol(source:Object = null, width:Number = 0, height:Number = 0, xoffset:Number = 0, yoffset:Number = 0, angle:Number = 0)
Creates a new PictureMarkerSymbol.
| PictureMarkerSymbol | ||
![]() |
clear(sprite:Sprite):void
Clears the graphics that were drawn to the sprite object.
| Symbol | |
![]() |
destroy(sprite:Sprite):void
Removes all the graphics that were drawn to the sprite object and resets its properties.
| Symbol | |
![]() |
Draw the graphics on the sprite object.
| Symbol | |
| height | property |
height:Number [read-write]Image height.
This property can be used as the source for data binding.
Implementation public function get height():Number
public function set height(value:Number):void
| source | property |
source:Object [read-write]Source of the image.
This property can be used as the source for data binding.
Implementation public function get source():Object
public function set source(value:Object):void
| width | property |
width:Number [read-write]Image width.
This property can be used as the source for data binding.
Implementation public function get width():Number
public function set width(value:Number):void
| PictureMarkerSymbol | () | constructor |
public function PictureMarkerSymbol(source:Object = null, width:Number = 0, height:Number = 0, xoffset:Number = 0, yoffset:Number = 0, angle:Number = 0)Creates a new PictureMarkerSymbol. Note that 'xoffset', 'yoffset' and 'angle' were added to the constructor in version 1.2.
Parameterssource:Object (default = null) — Source of the image.
|
|
width:Number (default = 0) — Width of the image in pixels.
|
|
height:Number (default = 0) — Height of the image in pixels.
|
|
xoffset:Number (default = 0) — The offset on the x-axis in pixels [added to constructor in version 1.2].
|
|
yoffset:Number (default = 0) — The offset on the y-axis in pixels [added to constructor in version 1.2].
|
|
angle:Number (default = 0) — The angle of the image [added to constructor in version 1.2].
|