| Package | com.afcomponents.umap.interfaces |
| Interface | public interface IGridSegment extends IMapObject, flash.events.IEventDispatcher |
| Implementors | GridSegment |
| Property | Defined by | ||
|---|---|---|---|
![]() | asDisplayObject : DisplayObject
Returns reference to the object as a DisplayObject instance.
| IMapObject | |
![]() | core : UMap
Returns reference to the core UMap object.
| IMapObject | |
![]() | id : uint
Gets or sets the ID of the object.
| IMapObject | |
![]() | name : String
Gets or sets the name of the object.
| IMapObject | |
![]() | owner : IMapObjectContainer
Returns reference to the owner container object.
| IMapObject | |
| point : Point [read-only]
Returns segment's point.
| IGridSegment | ||
| priority : uint [read-only]
Returns segment's priority.
| IGridSegment | ||
| zoom : uint [read-only]
Returns segment's zoom level.
| IGridSegment | ||
| Method | Defined by | ||
|---|---|---|---|
![]() |
dispose():void
Releases all the resources accuired by the object.
| IMapObject | |
|
equals(other:IGridSegment):Boolean
Compares the position of this segment to the other.
| IGridSegment | ||
|
init(point:Point, zoom:uint, priority:uint = 0):void
Sets segements options, and starts loading the image(s) for this segment.
| IGridSegment | ||
![]() |
remove():void
Removes the object from the owner container object.
| IMapObject | |
![]() |
setOwner(owner:IMapObjectContainer):void
Adds the object to the specified IMapObjectContainer.
| IMapObject | |
![]() |
toString():String
Returns a textual representation of the object.
| IMapObject | |
| point | property |
point:Point [read-only]Returns segment's point.
Implementation public function get point():Point
| priority | property |
priority:uint [read-only]Returns segment's priority.
Implementation public function get priority():uint
| zoom | property |
zoom:uint [read-only]Returns segment's zoom level.
Implementation public function get zoom():uint
| equals | () | method |
public function equals(other:IGridSegment):BooleanCompares the position of this segment to the other.
Parametersother:IGridSegment |
Boolean — A value of true if point and zoom level of the segments are equal; false if they are not.
|
| init | () | method |
public function init(point:Point, zoom:uint, priority:uint = 0):voidSets segements options, and starts loading the image(s) for this segment.
Parameterspoint:Point — Object wich specifies the position of the segement in tile coordinates.
|
|
zoom:uint — Zoom level of segment.
|
|
priority:uint (default = 0) — Loading priority of the segement.
|