com.esri.core.symbol
Class SimpleFillSymbol
java.lang.Object
com.esri.core.symbol.FillSymbol
com.esri.core.symbol.SimpleFillSymbol
- All Implemented Interfaces:
- PaintSymbol, Symbol, Serializable
public class SimpleFillSymbol
- extends FillSymbol
Used to draw polygon features on the graphics layer using simple patterns. SimpleFillSymbol can be solid,
transparent, and so on. In addition, the symbol can optionally have an outline, which is defined by a line symbol.
- See Also:
- Serialized Form
|
Constructor Summary |
SimpleFillSymbol(int color)
Instantiates an object of SimpleFillSymbol with the given color. |
SimpleFillSymbol(org.codehaus.jackson.JsonNode node)
Instantiates an object of SimpleFillSymbol from a JsonNode. |
|
Method Summary |
boolean |
equals(Object obj)
|
int |
hashCode()
|
String |
toJson()
Converts the symbol to a Json String. |
android.graphics.Paint |
toPaint(android.graphics.Paint p)
Returns the symbol as a Paint object. |
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
SimpleFillSymbol
public SimpleFillSymbol(org.codehaus.jackson.JsonNode node)
throws Exception
- Instantiates an object of SimpleFillSymbol from a JsonNode.
- Parameters:
node - the SimpleFillSymbol node.
- Throws:
Exception
SimpleFillSymbol
public SimpleFillSymbol(int color)
- Instantiates an object of SimpleFillSymbol with the given color.
- Parameters:
color - an ARGB color.
toPaint
public android.graphics.Paint toPaint(android.graphics.Paint p)
- Description copied from interface:
PaintSymbol
- Returns the symbol as a
Paint object.
- Parameters:
p - override the given paint object instead of create a new paint object.
- Returns:
- the symbol as a paint object.
toJson
public String toJson()
throws Exception
- Description copied from interface:
Symbol
- Converts the symbol to a Json String.
- Throws:
Exception
hashCode
public int hashCode()
- Overrides:
hashCode in class FillSymbol
equals
public boolean equals(Object obj)
- Overrides:
equals in class FillSymbol
Copyright © 2010. All Rights Reserved.