Enum Class TextureOption

java.lang.Object
java.lang.Enum<TextureOption>
com.baidu.mapapi.map.TextureOption
All Implemented Interfaces:
Serializable, Comparable<TextureOption>, Constable

public enum TextureOption extends Enum<TextureOption>
纹理类型
  • Enum Constant Details

    • Repeat

      public static final TextureOption Repeat
      重复
    • RoundHead

      public static final TextureOption RoundHead
      圆头
    • RoundTexture

      public static final TextureOption RoundTexture
      整数倍平铺
    • RepeatHalf

      public static final TextureOption RepeatHalf
      拉伸半个纹理(0.5)
    • SingleTexture

      public static final TextureOption SingleTexture
      单一纹理,不平铺,根据需要拉伸
    • ScaleTexture

      public static final TextureOption ScaleTexture
      纹理宽高等比缩放平铺
  • Method Details

    • values

      public static TextureOption[] 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

      public static TextureOption valueOf(String name)
      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 name
      NullPointerException - if the argument is null