Package com.baidu.mapapi.map
Enum Class PolylineOptions.LineDirectionCross180
java.lang.Object
java.lang.Enum<PolylineOptions.LineDirectionCross180>
com.baidu.mapapi.map.PolylineOptions.LineDirectionCross180
- All Implemented Interfaces:
Serializable,Comparable<PolylineOptions.LineDirectionCross180>,Constable
- Enclosing class:
- PolylineOptions
public static enum PolylineOptions.LineDirectionCross180
extends Enum<PolylineOptions.LineDirectionCross180>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription从东经往西经跨越180度从西经往东经跨越180度不跨越180度 -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
不跨越180度 -
FROM_EAST_TO_WEST
从东经往西经跨越180度 -
FROM_WEST_TO_EAST
从西经往东经跨越180度
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-