SFGMultiLineString
Objective-C
@interface SFGMultiLineString : SFGGeometry
Swift
class SFGMultiLineString : SFGGeometry
Multi Line String
-
Array of line strings
Declaration
Objective-C
@property (nonatomic, strong) NSMutableArray<SFGLineString *> *lineStrings;
Swift
var lineStrings: NSMutableArray! { get set }
-
Create
Declaration
Objective-C
+ (SFGMultiLineString *)multiLineString;
Return Value
new multi line string
-
Create
Declaration
Objective-C
+ (SFGMultiLineString *)multiLineStringWithCoordinates:(NSArray *)coordinates;
Parameters
coordinates
coordinate positions
Return Value
new multi line string
-
Create
Declaration
Objective-C
+ (SFGMultiLineString *)multiLineStringWithLineStrings: (NSArray<SFGLineString *> *)lineStrings;
Parameters
lineStrings
line string list
Return Value
new multi line string
-
Create
Declaration
Objective-C
+ (SFGMultiLineString *)multiLineStringWithMultiLineString: (SFMultiLineString *)multiLineString;
Parameters
multiLineString
simple multi line string
Return Value
new multi line string
-
Create
Declaration
Objective-C
+ (SFGMultiLineString *)multiLineStringWithTree:(NSDictionary *)tree;
Parameters
tree
JSON tree
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)initWithCoordinates:(NSArray *)coordinates;
Swift
init!(coordinates: [Any]!)
Parameters
coordinates
coordinate positions
Return Value
new multi line string
-
Initialize
Declaration
Objective-C
- (instancetype)initWithLineStrings:(NSArray<SFGLineString *> *)lineStrings;
Swift
init!(lineStrings: [SFGLineString]!)
Parameters
lineStrings
line string list
Return Value
new multi line string
-
Initialize
Declaration
Objective-C
- (instancetype)initWithMultiLineString:(SFMultiLineString *)multiLineString;
Swift
init!(multiLineString: SFMultiLineString!)
Parameters
multiLineString
simple multi line string
Return Value
new multi line string
-
Initialize
Declaration
Objective-C
- (instancetype)initWithTree:(NSDictionary *)tree;
Swift
init!(tree: [AnyHashable : Any]!)
Parameters
tree
JSON tree
Return Value
new multi line string
-
Get the simple features multi line string
Declaration
Objective-C
- (SFMultiLineString *)multiLineString;
Swift
func multiLineString() -> SFMultiLineString!
Return Value
multi line string
-
Set the simple features multi line string
Declaration
Objective-C
- (void)setMultiLineString:(SFMultiLineString *)multiLineString;
Swift
func setMultiLineString(_ multiLineString: SFMultiLineString!)
Parameters
multiLineString
multi line string