-
폴리곤의 채우기 색상.
기본값은
UIColor.whiteColor
입니다.Declaration
Objective-C
@property (readwrite, strong, nonatomic) UIColor *_Nonnull fillColor;
Swift
var fillColor: UIColor { get set }
-
폴리곤의 테두리 두께. (픽셀 단위)
기본값은
0
입니다.Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSUInteger strokeWidth;
Swift
var strokeWidth: UInt { get set }
-
폴리곤의 테두리 색상.
기본값은
UIColor.blackColor
입니다.Declaration
Objective-C
@property (readwrite, copy, nonatomic) 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
객체.