SFGeometryTypes
Objective-C
@interface SFGeometryTypes : NSObject
/**
* Get the name of the geometry type
*
* @param geometryType geometry type enum
*
* @return geometry type name
*/
+(NSString *) name: (enum SFGeometryType) geometryType;
/**
* Get the geometry type of the name
*
* @param name geometry type name
*
* @return geometry type
*/
+(enum SFGeometryType) fromName: (NSString *) name;
@end
Swift
class SFGeometryTypes : NSObject
Undocumented
-
Get the name of the geometry type
Declaration
Objective-C
+ (NSString *)name:(enum SFGeometryType)geometryType;
Swift
class func name(_ geometryType: SFGeometryType) -> String!
Parameters
geometryType
geometry type enum
Return Value
geometry type name
-
Get the geometry type of the name
Declaration
Objective-C
+ (enum SFGeometryType)fromName:(NSString *)name;
Swift
class func fromName(_ name: String!) -> SFGeometryType
Parameters
name
geometry type name
Return Value
geometry type