public static enum LPConstants.ShapeType extends java.lang.Enum<LPConstants.ShapeType>
枚举常量和说明 |
---|
Arrow
单箭头
|
Bitmap
Bitmap
|
Doodle
doodle
|
DottedLine
虚线
|
DoubleArrow
双箭头
|
MarkerDoodle
马克笔
|
Mouse
鼠标光标
|
Oval
椭圆
|
OvalSolid
实心椭圆
|
Point
point 激光笔
|
Rect
矩形
|
RectSolid
实心矩形
|
StraightLine
直线
|
Text
text
|
Triangle
三角(等边)
|
TriangleSolid
实心三角(等边)
|
限定符和类型 | 方法和说明 |
---|---|
int |
getValue() |
static LPConstants.ShapeType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static LPConstants.ShapeType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final LPConstants.ShapeType StraightLine
public static final LPConstants.ShapeType Arrow
public static final LPConstants.ShapeType DoubleArrow
public static final LPConstants.ShapeType Rect
public static final LPConstants.ShapeType Oval
public static final LPConstants.ShapeType Triangle
public static final LPConstants.ShapeType RectSolid
public static final LPConstants.ShapeType OvalSolid
public static final LPConstants.ShapeType TriangleSolid
public static final LPConstants.ShapeType Text
public static final LPConstants.ShapeType Point
public static final LPConstants.ShapeType Bitmap
public static final LPConstants.ShapeType Doodle
public static final LPConstants.ShapeType DottedLine
public static final LPConstants.ShapeType MarkerDoodle
public static final LPConstants.ShapeType Mouse
public static LPConstants.ShapeType[] values()
for (LPConstants.ShapeType c : LPConstants.ShapeType.values()) System.out.println(c);
public static LPConstants.ShapeType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public int getValue()