com.esri.aims.mtier.model.map.layer.renderer.symbol
Class RasterFillSymbol

java.lang.Object
  extended by com.esri.aims.mtier.model.map.layer.renderer.symbol.Symbol
      extended by com.esri.aims.mtier.model.map.layer.renderer.symbol.RasterFillSymbol
All Implemented Interfaces:
Serializable

public class RasterFillSymbol
extends Symbol

This object takes a specified image and uses it to fill a polygon feature. The RasterFillSymbol object extends the Symbol object.

See Also:
Serialized Form

Constructor Summary
RasterFillSymbol()
          Constructs an instance of a RasterFillSymbol object.
 
Method Summary
 String getImage()
          Returns the RasterFillSymbol's image value.
 double getTransparency()
          Returns the RasterFillSymbol's transparency value.
 String getType()
          Returns the name string that defines the type of symbol.
 String getURL()
          Returns the RasterFillSymbol's URL value.
 boolean isAntialiasing()
          Returns True if the RasterFillSymbol's antialiasing value is set.
 boolean isOverlap()
          Returns True if the RasterFillSymbol's overlap is set.
 void setAntialiasing(boolean value)
          Sets the RasterFillSymbol's antialiasing value.
 void setImage(String value)
          Sets the RasterFillSymbol's image value.
 void setOverlap(boolean value)
          Sets the overlap value, which determines if labels can overlap this symbol.
 void setTransparency(double value)
          Sets the RasterFillSymbol's transparency value.
 void setURL(String value)
          Sets the RasterFillSymbol's URL value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterFillSymbol

public RasterFillSymbol()
Constructs an instance of a RasterFillSymbol object. Example:
 RasterFillSymbol rasterFill = new RasterFillSymbol();
 

Method Detail

getType

public String getType()
Returns the name string that defines the type of symbol.

Specified by:
getType in class Symbol
Returns:
String

setTransparency

public void setTransparency(double value)
Sets the RasterFillSymbol's transparency value. Example:
 rasterFill.setTransparency(1.0);
 

Parameters:
value - the transparency value.
See Also:
getTransparency()

getTransparency

public double getTransparency()
Returns the RasterFillSymbol's transparency value. Example:
 double transparency = rasterFill.getTransparency();
 

Returns:
double
See Also:
setTransparency(double)

setAntialiasing

public void setAntialiasing(boolean value)
Sets the RasterFillSymbol's antialiasing value. Note that the time to generate a map may significantly increase when this property is set to True. Example:
 rasterFill.setAntialiasing(true);
 

Parameters:
value - the antialiasing value that is used to make edges of labels and symbols smoother. When set to True, antialiasing is active.
See Also:
isAntialiasing()

isAntialiasing

public boolean isAntialiasing()
Returns True if the RasterFillSymbol's antialiasing value is set. Example:
 if(rasterFill.isAntialiasing() == true){
  rasterFill.setAntialiasing(false);
 } 

Returns:
boolean
See Also:
setAntialiasing(boolean)

setImage

public void setImage(String value)
Sets the RasterFillSymbol's image value. Example:
 rasterFill.setImage("C:/ArcIMS/Images/fill.jpg");
 

Parameters:
value - the full path and image name.
See Also:
getImage()

getImage

public String getImage()
Returns the RasterFillSymbol's image value. Example:
 String image = rasterFill.getImage();
 

Returns:
String
See Also:
setImage(java.lang.String)

setURL

public void setURL(String value)
Sets the RasterFillSymbol's URL value. Example:
 rasterFill.setURL("http://www.mapper.com/symbols/fill.jpg");
 

Parameters:
value - the URL value
See Also:
getURL()

getURL

public String getURL()
Returns the RasterFillSymbol's URL value. Example:
 String url = rasterFill.getURL();
 

Returns:
String
See Also:
setURL(java.lang.String)

setOverlap

public void setOverlap(boolean value)
Sets the overlap value, which determines if labels can overlap this symbol. When True, labels can overlap. If labels are not drawing as expected, check if overlap is set to False for this symbol or for any other symbol in this service. Example:
 rasterFill.setOverlap(false);
 

Parameters:
value - the overlap value.
See Also:
isOverlap()

isOverlap

public boolean isOverlap()
Returns True if the RasterFillSymbol's overlap is set. Example:
 if(rasterFill.isOverlap() == false){
  rasterFill.setOverlap(true);
 }
 

Returns:
boolean
See Also:
setOverlap(boolean)