public static enum Geometry.Type extends Enum<Geometry.Type>
Enum Constant and Description |
---|
Envelope
The value representing an envelope as geometry type.
|
Line
The value representing a line as geometry type.
|
MultiPoint
The value representing a multipoint as geometry type.
|
Point
The value representing a point as geometry type.
|
Polygon
The value representing a polygon as geometry type.
|
Polyline
The value representing a polyline as geometry type.
|
Unknown
Used to indicate that the geometry type is not known before executing
a method.
|
Modifier and Type | Method and Description |
---|---|
static Geometry.Type |
intToType(int geometryType) |
int |
value()
Returns the integer representation of the enumeration value.
|
static Geometry.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Geometry.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Geometry.Type Unknown
public static final Geometry.Type Point
public static final Geometry.Type Line
public static final Geometry.Type Envelope
public static final Geometry.Type MultiPoint
public static final Geometry.Type Polyline
public static final Geometry.Type Polygon
public static Geometry.Type[] values()
for (Geometry.Type c : Geometry.Type.values()) System.out.println(c);
public static Geometry.Type 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 nullpublic int value()
public static Geometry.Type intToType(int geometryType)
Copyright © 2018. All rights reserved.