Package com.baidu.mapapi.map
Enum Class TextureOption
- All Implemented Interfaces:
Serializable,Comparable<TextureOption>,Constable
纹理类型
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription重复拉伸半个纹理(0.5)圆头整数倍平铺纹理宽高等比缩放平铺单一纹理,不平铺,根据需要拉伸 -
Method Summary
Modifier and TypeMethodDescriptionstatic TextureOptionReturns the enum constant of this class with the specified name.static TextureOption[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Repeat
重复 -
RoundHead
圆头 -
RoundTexture
整数倍平铺 -
RepeatHalf
拉伸半个纹理(0.5) -
SingleTexture
单一纹理,不平铺,根据需要拉伸 -
ScaleTexture
纹理宽高等比缩放平铺
-
-
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
-