public static enum AMapPara.LineCapType extends java.lang.Enum<AMapPara.LineCapType>
| 枚举常量和说明 |
|---|
LineCapArrow
箭头
Arrow |
LineCapButt
普通头
Normal head |
LineCapRound
圆形头
Round head |
LineCapSquare
扩展头
Extended head |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getTypeValue()
获取形状值
Get shape value |
static AMapPara.LineCapType |
valueOf(int value)
根据value返回对应的形状
Return the corresponding shape based on the value |
static AMapPara.LineCapType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static AMapPara.LineCapType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final AMapPara.LineCapType LineCapButt
public static final AMapPara.LineCapType LineCapSquare
public static final AMapPara.LineCapType LineCapArrow
public static final AMapPara.LineCapType LineCapRound
public static AMapPara.LineCapType[] values()
for (AMapPara.LineCapType c : AMapPara.LineCapType.values()) System.out.println(c);
public static AMapPara.LineCapType valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public static AMapPara.LineCapType valueOf(int value)
value - public int getTypeValue()