Package com.naver.maps.map.overlay
Enum PolylineOverlay.LineCap
- java.lang.Object
-
- java.lang.Enum<PolylineOverlay.LineCap>
-
- com.naver.maps.map.overlay.PolylineOverlay.LineCap
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PolylineOverlay.LineCap>
- Enclosing class:
- PolylineOverlay
public static enum PolylineOverlay.LineCap extends java.lang.Enum<PolylineOverlay.LineCap>
끝 지점의 모양.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PolylineOverlay.LineCapvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PolylineOverlay.LineCap[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Round
public static final PolylineOverlay.LineCap Round
원형. 끝 지점에 지름이 두께만 한 원이 그려집니다.
-
Butt
public static final PolylineOverlay.LineCap Butt
평면. 끝 지점이 좌표에 딱 맞게 잘립니다.
-
Square
public static final PolylineOverlay.LineCap Square
사각형. 끝 지점에 두께의 반만큼의 직사각형이 추가됩니다.
-
-
Method Detail
-
values
public static PolylineOverlay.LineCap[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PolylineOverlay.LineCap c : PolylineOverlay.LineCap.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PolylineOverlay.LineCap valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-