java.lang.Object | |
↳ | com.esri.core.map.GraphicsUtil |
The Class GraphicsUtil.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GraphicsUtil() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
final static int |
abgrToColor(int color)
Convert an Color integer in ABGR to ARGB format.
| ||||||||||
final static int |
colorToAbgr(int color)
Convert an Color integer in ARGB to ABGR format.
| ||||||||||
final static Object |
convertStringFieldValue(String strfieldValue, String fieldname, Field[] fields)
Convert string field value.
| ||||||||||
final static SpatialReference |
getSpatialReference(Graphic g)
Gets the spatial reference.
| ||||||||||
final static void |
updateTextSymbolsText(FeatureSet fset)
This utility method is to go through all features in the feature set to find if
the feature has a TextSymbol but no text being assigned, then try to use feature
attribute text property to assign it if the text attribute text is not null.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Convert an Color integer in ABGR to ARGB format.
color | a color in integer in ARGB format |
---|
Convert an Color integer in ARGB to ABGR format.
color | a color in integer in ARGB format |
---|
Convert string field value.
strfieldValue | the strfield value |
---|---|
fieldname | the fieldname |
fields | the fields |
Gets the spatial reference.
g | the g |
---|
This utility method is to go through all features in the feature set to find if the feature has a TextSymbol but no text being assigned, then try to use feature attribute text property to assign it if the text attribute text is not null.
fset | a FeatureSet object |
---|