Enum Class LineDashStyle
- All Implemented Interfaces:
Serializable,Comparable<LineDashStyle>,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指定该行仅由破折号组成。指定线条为点划线模式。指定线条为点划线(dash-dot-dot pattern)。指定该线由长破折号组成。指定线条为长虚线点图案。指定线条为长虚线点点的模式。仅适用于特殊形状。指定线条由圆形点组成。指定线条为实线。指定线条由方形点组成。指定该行为长系统短划线图案。指定该行为长系统点划线模式。指定该行为长系统点模式。 -
Method Summary
Modifier and TypeMethodDescriptionstatic LineDashStyleReturns the enum constant of this class with the specified name.static LineDashStyle[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Solid
指定线条为实线。 -
SquareDot
指定线条由方形点组成。 -
RoundDot
指定线条由圆形点组成。 -
Dash
指定该行仅由破折号组成。 -
DashDot
指定线条为点划线模式。 -
DashDotDot
指定线条为点划线(dash-dot-dot pattern)。 -
LongDash
指定该线由长破折号组成。 -
LongDashDot
指定线条为长虚线点图案。 -
LongDashDotDot
指定线条为长虚线点点的模式。 -
SysDash
指定该行为长系统短划线图案。 -
SysDot
指定该行为长系统点模式。 -
SysDashDot
指定该行为长系统点划线模式。 -
Mixed
仅适用于特殊形状。
-
-
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
-