SFGGeometryTypes

Objective-C

@interface SFGGeometryTypes : NSObject

Swift

class SFGGeometryTypes : NSObject

Geometry Types

  • Get the type

    Declaration

    Objective-C

    - (enum SFGGeometryType)type;

    Swift

    func type() -> SFGGeometryType

    Return Value

    type

  • Get the simple geometry type

    Declaration

    Objective-C

    - (enum SFGeometryType)simpleType;

    Swift

    func simpleType() -> SFGeometryType

    Return Value

    simple geometry type

  • Get the name

    Declaration

    Objective-C

    - (NSString *)name;

    Swift

    func name() -> String!

    Return Value

    name

  • Get the geometry type

    Declaration

    Objective-C

    + (SFGGeometryTypes *)type:(enum SFGGeometryType)geometryType;

    Swift

    class func type(_ geometryType: SFGGeometryType) -> SFGGeometryTypes!

    Parameters

    geometryType

    geometry type enum

    Return Value

    geometry type

  • Get the geometry name

    Declaration

    Objective-C

    + (NSString *)name:(enum SFGGeometryType)geometryType;

    Swift

    class func name(_ geometryType: SFGGeometryType) -> String!

    Parameters

    geometryType

    geometry type enum

    Return Value

    geometry name

  • Get the geometry type of the name

    Declaration

    Objective-C

    + (SFGGeometryTypes *)fromName:(NSString *)name;

    Swift

    class func fromName(_ name: String!) -> SFGGeometryTypes!

    Parameters

    name

    geometry type name

    Return Value

    geometry type