public class

GPMapImage

extends Object
java.lang.Object
   ↳ com.esri.core.tasks.ags.geoprocessing.GPMapImage

Class Overview

Container class representing a map image object shared by GPRasterDataLayer and GPFeatureRecordSetLayer

Summary

Public Constructors
GPMapImage()
Public Methods
boolean equals(Object obj)
void fromJson(JsonNode node)
This method populates a map image instance with the information contained in the Feature Json node passed as parameter.
void fromJson(JsonParser parser)
This method populates a map image instance with the information contained in the object representation the Json Parser is pointing to.
Envelope getExtent()
Gets the extent that the image represents.
int getHeight()
Gets the height of the image.
URL getHref()
Gets the URL to the image.
double getScale()
Gets the scale of the image.
SpatialReference getSpatialReference()
int getWidth()
Gets the width of the image.
int hashCode()
void setExtent(Envelope extent)
Sets the extent that the image represents.
void setHeight(int height)
Sets the height of the image.
void setHref(URL href)
Sets the URL of the image.
void setScale(double scale)
Sets the scale of the image
void setWidth(int width)
Sets the width of the image.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public GPMapImage ()

Public Methods

public boolean equals (Object obj)

public void fromJson (JsonNode node)

This method populates a map image instance with the information contained in the Feature Json node passed as parameter.

Parameters
node the Json node containing the map image information.
Throws
Exception

public void fromJson (JsonParser parser)

This method populates a map image instance with the information contained in the object representation the Json Parser is pointing to.

Parameters
parser the Json parser pointing to the map image information.
Throws
Exception

public Envelope getExtent ()

Gets the extent that the image represents.

Returns
  • the extent

public int getHeight ()

Gets the height of the image.

Returns
  • the height

public URL getHref ()

Gets the URL to the image.

Returns
  • the URL.

public double getScale ()

Gets the scale of the image.

Returns
  • the scale

public SpatialReference getSpatialReference ()

public int getWidth ()

Gets the width of the image.

Returns
  • the width

public int hashCode ()

public void setExtent (Envelope extent)

Sets the extent that the image represents.

Parameters
extent the extent to set

public void setHeight (int height)

Sets the height of the image.

Parameters
height the height to set

public void setHref (URL href)

Sets the URL of the image.

Parameters
href the href to set

public void setScale (double scale)

Sets the scale of the image

Parameters
scale the scale to set

public void setWidth (int width)

Sets the width of the image.

Parameters
width the width to set.