net.rim.device.api.lbs.maps.model
Class MapSimplePolygon
java.lang.Object
net.rim.device.api.lbs.maps.model.AbstractMappable
net.rim.device.api.lbs.maps.model.MapPolyLine
net.rim.device.api.lbs.maps.model.MapSimplePolygon
- All Implemented Interfaces:
- Boxable, Mappable, Persistable
- Direct Known Subclasses:
- MapComplexPolygon
public class MapSimplePolygon
- extends MapPolyLine
- implements Persistable
Represents a polygon that is composed of an outer boundary, which is defined as an
ordered series of MapPoint elements.
Error checking is not performed to validate that the polygon is not
self-intersecting. Rendering behavior in this situation is undefined.
- Since:
- BlackBerry API 7.0.0
|
Constructor Summary |
MapSimplePolygon()
Constructs a new MapSimplePolygon instance. |
MapSimplePolygon(MapPoint[] points)
Constructs a MapSimplePolygon instance with the given points defining the boundary. |
| Methods inherited from class net.rim.device.api.lbs.maps.model.MapPolyLine |
addPoint, equals, getBoundingBox, getPoint, hashCode, insertPointAt, removeAllPoints, removePoint, removePointAt, setPointAt, size |
MapSimplePolygon
public MapSimplePolygon()
- Constructs a new
MapSimplePolygon instance.
- Since:
- BlackBerry API 7.0.0
MapSimplePolygon
public MapSimplePolygon(MapPoint[] points)
- Constructs a
MapSimplePolygon instance with the given points defining the boundary.
- Parameters:
points - The points that define the boundary of the polygon.- Since:
- BlackBerry API 7.0.0
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal