com.esri.adf.web.data.geometry
Class WebOval

java.lang.Object
  extended by com.esri.adf.web.data.geometry.WebGeometry
      extended by com.esri.adf.web.data.geometry.WebOval
All Implemented Interfaces:
Serializable

Deprecated.

@Deprecated
public class WebOval
extends WebGeometry

See Also:
Serialized Form

Field Summary
protected  WebPoint center
          Deprecated.  
protected  double height
          Deprecated.  
protected  double width
          Deprecated.  
 
Fields inherited from class com.esri.adf.web.data.geometry.WebGeometry
spatialReference
 
Constructor Summary
WebOval()
          Deprecated.  
WebOval(WebPoint center, double width, double height)
          Deprecated.  
WebOval(WebSpatialReference spatialReference)
          Deprecated.  
 
Method Summary
 WebOval fromMapGeometry(WebMap webMap)
          Deprecated.  Converts a geometry in map coordinates to a geometry of the same type in screen coordinates.
 WebPoint getCenter()
          Deprecated.  
 String getGeometryType()
          Deprecated.  Returns a text representing the type of the geometry.
 double getHeight()
          Deprecated.  
 double getWidth()
          Deprecated.  
 WebOval project(WebSpatialReference toSpatialReference)
          Deprecated.  Converts the geometry in map coordinates from the spatialReference of this geometry to a geometry in the desired spatial reference.
 void setCenter(WebPoint center)
          Deprecated.  
 void setHeight(double height)
          Deprecated.  
 void setWidth(double width)
          Deprecated.  
 WebOval toMapGeometry(WebMap webMap)
          Deprecated.  Converts a geometry in screen coordinates to a geometry of the same type in map coordinates.
 String toString()
          Deprecated.  
 
Methods inherited from class com.esri.adf.web.data.geometry.WebGeometry
equals, fromMapGeometry, getSpatialReference, hashCode, setSpatialReference, toMapGeometry
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

center

protected WebPoint center
Deprecated. 

width

protected double width
Deprecated. 

height

protected double height
Deprecated. 
Constructor Detail

WebOval

public WebOval()
Deprecated. 

WebOval

public WebOval(WebPoint center,
               double width,
               double height)
Deprecated. 

WebOval

public WebOval(WebSpatialReference spatialReference)
Deprecated. 
Method Detail

getCenter

public WebPoint getCenter()
Deprecated. 

setCenter

public void setCenter(WebPoint center)
Deprecated. 

getHeight

public double getHeight()
Deprecated. 

setHeight

public void setHeight(double height)
Deprecated. 

getWidth

public double getWidth()
Deprecated. 

setWidth

public void setWidth(double width)
Deprecated. 

getGeometryType

public String getGeometryType()
Deprecated. 
Description copied from class: WebGeometry

Returns a text representing the type of the geometry. WebGeometry objects of the same type must return the same text.

Specified by:
getGeometryType in class WebGeometry
Returns:
a text representing the type of the geometry

toMapGeometry

public WebOval toMapGeometry(WebMap webMap)
Deprecated. 
Description copied from class: WebGeometry

Converts a geometry in screen coordinates to a geometry of the same type in map coordinates. The coordinate system of the converted geometry is the same as the coordinate system of the WebMap.

Specified by:
toMapGeometry in class WebGeometry
Parameters:
webMap - The WebMap based on which the coordinates need to be converted
Returns:
the WebGeometry in map coordinates

fromMapGeometry

public WebOval fromMapGeometry(WebMap webMap)
Deprecated. 
Description copied from class: WebGeometry

Converts a geometry in map coordinates to a geometry of the same type in screen coordinates. Since the converted geometry is a screen geometry, the coordinate system of the converted geometry will be null.

Specified by:
fromMapGeometry in class WebGeometry
Parameters:
webMap - The WebMap based on which the coordinates need to be converted
Returns:
the WebGeometry in screen coordinates

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object

project

public WebOval project(WebSpatialReference toSpatialReference)
Deprecated. 
Description copied from class: WebGeometry

Converts the geometry in map coordinates from the spatialReference of this geometry to a geometry in the desired spatial reference. If the desired spatial reference is same as that of this geometry, this same geometry is returned. Otherwise, a new WebGeometry object is created and populated with the converted coordinates. The type of the projected geometry is same as this geometry.

Specified by:
project in class WebGeometry
Parameters:
toSpatialReference - the desired spatial reference of the projected geometry
Returns:
the projected WebGeometry