com.mapquest
Class EllipsePrimitive

java.lang.Object
  extended bycom.mapquest.MQObject
      extended bycom.mapquest.Primitive
          extended bycom.mapquest.RectanglePrimitive
              extended bycom.mapquest.EllipsePrimitive
All Implemented Interfaces:
java.lang.Cloneable

public class EllipsePrimitive
extends RectanglePrimitive

Describes circle annotations to be placed on the map. The ellipse is positioned by the Upper Left and Lower Right coordinates of a bounding rectangle. The coordinates are converted into latitude/longitude points so the annotation can be placed in the same geographical location after the map is manipulated.

See Also:
Point, LatLng

Field Summary
static int CLASS_ID
           
static java.lang.String CLASS_NAME
           
 
Fields inherited from class com.mapquest.MQObject
DEFAULT_ID, DEFAULT_NAME, DEFAULT_VERSION, FORMAT_NUMERIC_ID, FORMAT_TEXT_NAME, INVALID_ID, INVALID_NAME, INVALID_VERSION
 
Constructor Summary
EllipsePrimitive()
          Default constructor.
 
Method Summary
 int getClassId()
          Returns the numeric id of this class.
 java.lang.String getClassName()
          Returns the text name of this class.
 void init()
          Initializes object.
 
Methods inherited from class com.mapquest.RectanglePrimitive
equals, getColor, getFillColor, getFillStyle, getLowerRightLatLng, getLowerRightPoint, getStyle, getUpperLeftLatLng, getUpperLeftPoint, getWidth, hashCode, setColor, setFillColor, setFillStyle, setLowerRightLatLng, setLowerRightPoint, setStyle, setUpperLeftLatLng, setUpperLeftPoint, setWidth, toString
 
Methods inherited from class com.mapquest.Primitive
getCoordinateType, getDrawTrigger, getKey, getOpacity, getTriggerDT, setCoordinateType, setDrawTrigger, setKey, setOpacity, setTriggerDT
 
Methods inherited from class com.mapquest.MQObject
clone, getFormat, getIdWithVersion, getNameWithVersion, getObjectVersion, getTypeId, getTypeName, getVerboseConsoleOutput, setFormat, setObjectVersion, setVerboseConsoleOutput
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_ID

public static final int CLASS_ID
See Also:
Constant Field Values

CLASS_NAME

public static final java.lang.String CLASS_NAME
See Also:
Constant Field Values
Constructor Detail

EllipsePrimitive

public EllipsePrimitive()
Default constructor.

Method Detail

init

public void init()
Initializes object.

Overrides:
init in class RectanglePrimitive

getClassId

public int getClassId()
Returns the numeric id of this class.

Overrides:
getClassId in class RectanglePrimitive
Returns:
the numeric id of this class.

getClassName

public java.lang.String getClassName()
Returns the text name of this class.

Overrides:
getClassName in class RectanglePrimitive
Returns:
the text name of this class.