Package com.kakao.vectormap.shape
Class PolylineStyles
- java.lang.Object
-
- com.kakao.vectormap.shape.PolylineStyles
-
public class PolylineStyles extends java.lang.Object
PolylineStyle
를 가지고 있는 컨테이너 클래스.
-
-
Field Summary
Fields Modifier and Type Field Description PolylineStyle[]
styles
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PolylineStyles
from(float lineWidth, int color)
PolylineStyles 를 생성자.static PolylineStyles
from(PolylineStyle... styles)
PolylineStyles 를 생성자.static PolylineStyles
from(java.util.List<PolylineStyle> styles)
PolylineStyles 를 생성자.PolylineStyle[]
getStyles()
추가 된 PolylineStyles 가져온다.int
hashCode()
-
-
-
Field Detail
-
styles
public PolylineStyle[] styles
-
-
Method Detail
-
from
public static PolylineStyles from(@NonNull PolylineStyle... styles)
PolylineStyles 를 생성자.- Parameters:
styles
- 스타일을 정의할 PolylineStyle 배열- Returns:
- PolylineStyles 객체
-
from
public static PolylineStyles from(@NonNull java.util.List<PolylineStyle> styles)
PolylineStyles 를 생성자.- Parameters:
styles
- 스타일을 정의할 PolylineStyle 리스트- Returns:
- PolylineStyles 객체
-
from
public static PolylineStyles from(float lineWidth, int color)
PolylineStyles 를 생성자.- Parameters:
lineWidth
- Polyline 의 두께 (px)color
- Polyline 의 색깔- Returns:
- PolylineStyles 객체
-
getStyles
public PolylineStyle[] getStyles()
추가 된 PolylineStyles 가져온다.- Returns:
- 추가 된 PolylineStyles 배열
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-