SFCircularString
Objective-C
@interface SFCircularString : SFLineString
Swift
class SFCircularString : SFLineString
Circular String, Curve sub type
-
Create
Declaration
Objective-C
+ (SFCircularString *)circularString;
Return Value
new circular string
-
Create
Declaration
Objective-C
+ (SFCircularString *)circularStringWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Parameters
hasZ
has z values
hasM
has m values
Return Value
new circular string
-
Create
Declaration
Objective-C
+ (SFCircularString *)circularStringWithPoints: (NSMutableArray<SFPoint *> *)points;
Parameters
points
list of points
Return Value
new circular string
-
Create
Declaration
Objective-C
+ (SFCircularString *)circularStringWithCircularString: (SFCircularString *)circularString;
Parameters
circularString
circular string
Return Value
new circular string
-
Initialize
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
Return Value
new circular string
-
Initialize
Declaration
Objective-C
- (instancetype)initWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
init!(hasZ: Bool, andHasM hasM: Bool)
Parameters
hasZ
has z values
hasM
has m values
Return Value
new circular string
-
Initialize
Declaration
Objective-C
- (instancetype)initWithPoints:(NSMutableArray<SFPoint *> *)points;
Swift
init!(points: NSMutableArray!)
Parameters
points
list of points
Return Value
new circular string
-
Initialize
Declaration
Objective-C
- (instancetype)initWithCircularString:(SFCircularString *)circularString;
Swift
init!(circularString: SFCircularString!)
Parameters
circularString
circular string
Return Value
new circular string