-
폴리곤의 채우기 색상.
기본값은
UIColor.whiteColor입니다.Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull fillColor;Swift
var fillColor: UIColor { get set } -
폴리곤의 테두리 두께. (픽셀 단위)
기본값은
0입니다.Declaration
Objective-C
@property (nonatomic) NSUInteger strokeWidth;Swift
var strokeWidth: UInt { 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)polygonWithCoords:(nonnull NSArray<INVLatLng *> *)coords fillColor:(nonnull UIColor *)fillColor;Swift
convenience init(coords: [INVLatLng], fill fillColor: UIColor)Parameters
coords좌표열.
fillColor채우기 색상.
Return Value
INVPolygon객체.
INVPolygon Class Reference