INVRouteLink
Objective-C
@interface INVRouteLink : NSObject
Swift
class INVRouteLink : NSObject
경로를 구성하는 좌표열과 색상 속성을 정의한 클래스.
See
INVRoute
-
경로의 선 색상.
기본값은
UIColor.whiteColor입니다.Declaration
Objective-C
@property (nonatomic, copy) UIColor *_Nonnull lineColor;Swift
@NSCopying var lineColor: UIColor { get set } -
경로의 테두리 색상.
기본값은
UIColor.blackColor입니다.Declaration
Objective-C
@property (nonatomic, copy) UIColor *_Nonnull strokeColor;Swift
@NSCopying var strokeColor: UIColor { get set } -
좌표열과 선 색상을 이용하여 링크 객체를 생성합니다.
coords의 크기는2이상이어야 합니다.Declaration
Objective-C
+ (nonnull instancetype)linkWithCoords:(NSArray<INVLatLng *> *_Nonnull)coords lineColor:(UIColor *_Nonnull)lineColor;Swift
convenience init(coords: [INVLatLng], lineColor: UIColor)Parameters
coords좌표열.
lineColor색상.
Return Value
INVRouteLink객체. -
좌표열과 선 색상, 테두리 색상을 이용하여 링크 객체를 생성합니다.
coords의 크기는2이상이어야 합니다.Declaration
Objective-C
+ (nonnull instancetype)linkWithCoords:(NSArray<INVLatLng *> *_Nonnull)coords lineColor:(UIColor *_Nonnull)lineColor strokeColor:(UIColor *_Nonnull)strokeColor;Swift
convenience init(coords: [INVLatLng], lineColor: UIColor, stroke strokeColor: UIColor)Parameters
coords좌표열.
lineColor색상.
strokeColor테두리 색상.
Return Value
INVRouteLink객체.
INVRouteLink Class Reference