public enum GeometryLibrary extends Enum<GeometryLibrary>
OptionKey.GEOMETRY_LIBRARY,
FeatureTypeBuilder.addAttribute(GeometryType)Defined in the sis-utility module
| Enum Constant and Description |
|---|
ESRI
The ESRI geometry API library.
|
JAVA2D
The Java 2D Graphics and Imaging library.
|
| Modifier and Type | Method and Description |
|---|---|
static GeometryLibrary |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeometryLibrary[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeometryLibrary ESRI
| Geometry type | Class name |
|---|---|
| Root geometry class | com.esri.core.geometry.Geometry |
GeometryType.POINT | com.esri.core.geometry.Point |
GeometryType.LINEAR | com.esri.core.geometry.Polyline |
GeometryType.AREAL | com.esri.core.geometry.Polygon |
public static final GeometryLibrary JAVA2D
| Geometry type | Class name |
|---|---|
GeometryType.POINT | java.awt.geom.Point2D |
GeometryType.LINEAR | java.awt.Shape |
GeometryType.AREAL | java.awt.Shape |
public static GeometryLibrary[] values()
for (GeometryLibrary c : GeometryLibrary.values()) System.out.println(c);
public static GeometryLibrary valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2010–2017 The Apache Software Foundation. All rights reserved.