SFMultiLineString
Objective-C
@interface SFMultiLineString : SFMultiCurve
Swift
class SFMultiLineString : SFMultiCurve
A restricted form of MultiCurve where each Curve in the collection must be of type LineString.
-
Create
Declaration
Objective-C
+ (SFMultiLineString *)multiLineString;
Return Value
new multi line string
-
Create
Declaration
Objective-C
+ (SFMultiLineString *)multiLineStringWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Parameters
hasZ
has z values
hasM
has m values
Return Value
new multi line string
-
Create
Declaration
Objective-C
+ (SFMultiLineString *)multiLineStringWithLineStrings: (NSMutableArray<SFLineString *> *)lineStrings;
Parameters
lineStrings
list of line strings
Return Value
new multi line string
-
Create
Declaration
Objective-C
+ (SFMultiLineString *)multiLineStringWithLineString:(SFLineString *)lineString;
Parameters
lineString
line string
Return Value
new multi line string
-
Create
Declaration
Objective-C
+ (SFMultiLineString *)multiLineStringWithMultiLineString: (SFMultiLineString *)multiLineString;
Parameters
multiLineString
multi line string
Return Value
new multi line string
-
Initialize
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
Return Value
new multi line 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 multi line string
-
Initialize
Declaration
Objective-C
- (instancetype)initWithLineStrings: (NSMutableArray<SFLineString *> *)lineStrings;
Swift
init!(lineStrings: NSMutableArray!)
Parameters
lineStrings
list of line strings
Return Value
new multi line string
-
Initialize
Declaration
Objective-C
- (instancetype)initWithLineString:(SFLineString *)lineString;
Swift
init!(lineString: SFLineString!)
Parameters
lineString
line string
Return Value
new multi line string
-
Initialize
Declaration
Objective-C
- (instancetype)initWithMultiLineString:(SFMultiLineString *)multiLineString;
Swift
init!(multiLineString: SFMultiLineString!)
Parameters
multiLineString
multi line string
Return Value
new multi line string
-
Get the line strings
Declaration
Objective-C
- (NSMutableArray<SFLineString *> *)lineStrings;
Swift
func lineStrings() -> NSMutableArray!
Return Value
line strings
-
Set the line strings
Declaration
Objective-C
- (void)setLineStrings:(NSMutableArray<SFLineString *> *)lineStrings;
Swift
func setLineStrings(_ lineStrings: NSMutableArray!)
Parameters
lineStrings
line strings
-
Add a line string
Declaration
Objective-C
- (void)addLineString:(SFLineString *)lineString;
Swift
func addLineString(_ lineString: SFLineString!)
Parameters
lineString
line string
-
Add line strings
Declaration
Objective-C
- (void)addLineStrings:(NSArray<SFLineString *> *)lineStrings;
Swift
func addLineStrings(_ lineStrings: [SFLineString]!)
Parameters
lineStrings
line strings
-
Get the number of line strings
Declaration
Objective-C
- (int)numLineStrings;
Swift
func numLineStrings() -> Int32
Return Value
line string count
-
Returns the Nth line string
Declaration
Objective-C
- (SFLineString *)lineStringAtIndex:(int)n;
Swift
func lineString(at n: Int32) -> SFLineString!
Parameters
n
nth line string to return
Return Value
line string