Module com.esri.arcgisruntime
Package com.esri.arcgisruntime.symbology
Enum Class StrokeSymbolLayer.CapStyle
java.lang.Object
java.lang.Enum<StrokeSymbolLayer.CapStyle>
com.esri.arcgisruntime.symbology.StrokeSymbolLayer.CapStyle
- All Implemented Interfaces:
Serializable
,Comparable<StrokeSymbolLayer.CapStyle>
,Constable
- Enclosing class:
StrokeSymbolLayer
The cap style describes the way that line symbol layers will terminate when combined with a geometry. The term
"cap" refers to the end of the line. The options here control the shape that cap will take. In dynamic rendering mode,
caps are always rendered with the "butt" style.
- Since:
- 100.5.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionApplying the butt cap style will terminate the line ending exactly where the geometry ends.Applying the round cap style will terminate the line ending with a semicircle of diameter equal to the stroke width.Applying the square cap style will extend the termination of the line ending past the end of the geometry by a distance of 1/2 the stroke width. -
Method Summary
Modifier and TypeMethodDescriptionstatic StrokeSymbolLayer.CapStyle
Returns the enum constant of this class with the specified name.static StrokeSymbolLayer.CapStyle[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BUTT
Applying the butt cap style will terminate the line ending exactly where the geometry ends. The end cap will be squared off. That is, two 90 degree angles form a butted ending to the symbol.- Since:
- 100.5.0
-
ROUND
Applying the round cap style will terminate the line ending with a semicircle of diameter equal to the stroke width. That semicircle will be centered at the line endpoint.- Since:
- 100.5.0
-
SQUARE
Applying the square cap style will extend the termination of the line ending past the end of the geometry by a distance of 1/2 the stroke width. The end cap will be squared off. That is, two 90 degree angles form a squared ending to the symbol.- Since:
- 100.5.0
-
-
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
-