-
원의 반경. (미터 단위)
기본값은
1000입니다.Declaration
Objective-C
@property (nonatomic) double radius;Swift
var radius: Double { get set } -
원의 채우기 색상.
기본값은
UIColor.whiteColor입니다.Declaration
Objective-C
@property (nonatomic, copy) UIColor *_Nonnull fillColor;Swift
@NSCopying var fillColor: UIColor { get set } -
원의 테두리 두께. (pt 단위)
기본값은
0입니다.Declaration
Objective-C
@property (nonatomic) double strokeWidth;Swift
var strokeWidth: Double { get set } -
원의 테두리 색상.
기본값은
UIColor.blackColor입니다.Declaration
Objective-C
@property (nonatomic, copy) UIColor *_Nonnull strokeColor;Swift
@NSCopying var strokeColor: UIColor { get set } -
중심점, 반경, 채우기 색상을 이용하여 원 객체를 생성합니다.
Declaration
Objective-C
+ (nonnull instancetype)circleWithCenter:(nonnull INVLatLng *)center radius:(double)radius fillColor:(nonnull UIColor *)fillColor;Swift
convenience init(center: INVLatLng, radius: Double, fill fillColor: UIColor)Parameters
center중심점.
radius반경. (미터 단위)
fillColor채우기 색상.
Return Value
INVCircle객체.
INVCircle Class Reference