GPKGStyleRow

Objective-C

@interface GPKGStyleRow : GPKGAttributesRow

Swift

class GPKGStyleRow : GPKGAttributesRow

Style Row containing the values from a single result set row

  • Table style flag

    Declaration

    Objective-C

    @property (nonatomic) BOOL tableStyle;

    Swift

    var tableStyle: Bool { get set }
  • Initializer to create an empty row

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()
  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithStyleTable:(GPKGStyleTable *)table
                            andColumns:(GPKGAttributesColumns *)columns
                             andValues:(NSMutableArray *)values;

    Swift

    init!(styleTable table: GPKGStyleTable!, andColumns columns: GPKGAttributesColumns!, andValues values: NSMutableArray!)

    Parameters

    table

    style table

    columns

    columns

    values

    values

    Return Value

    new style row

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithStyleTable:(GPKGStyleTable *)table;

    Swift

    init!(styleTable table: GPKGStyleTable!)

    Parameters

    table

    style table

    Return Value

    new style row

  • Get the style table

    Declaration

    Objective-C

    - (GPKGStyleTable *)styleTable;

    Swift

    func styleTable() -> GPKGStyleTable!

    Return Value

    style table

  • Get the name column index

    Declaration

    Objective-C

    - (int)nameColumnIndex;

    Swift

    func nameColumnIndex() -> Int32

    Return Value

    name column index

  • Get the name column

    Declaration

    Objective-C

    - (GPKGAttributesColumn *)nameColumn;

    Swift

    func nameColumn() -> GPKGAttributesColumn!

    Return Value

    name column

  • Get the name

    Declaration

    Objective-C

    - (NSString *)name;

    Swift

    func name() -> String!

    Return Value

    name

  • Set the name

    Declaration

    Objective-C

    - (void)setName:(NSString *)name;

    Swift

    func setName(_ name: String!)

    Parameters

    name

    Feature Icon name

  • Get the description column index

    Declaration

    Objective-C

    - (int)descriptionColumnIndex;

    Swift

    func descriptionColumnIndex() -> Int32

    Return Value

    description column index

  • Get the description column

    Declaration

    Objective-C

    - (GPKGAttributesColumn *)descriptionColumn;

    Swift

    func descriptionColumn() -> GPKGAttributesColumn!

    Return Value

    description column

  • Get the description

    Declaration

    Objective-C

    - (NSString *)description;

    Swift

    func description() -> String!

    Return Value

    description

  • Set the description

    Declaration

    Objective-C

    - (void)setDescription:(NSString *)description;

    Swift

    func setDescription(_ description: String!)

    Parameters

    description

    Feature Icon description

  • Get the color column index

    Declaration

    Objective-C

    - (int)colorColumnIndex;

    Swift

    func colorColumnIndex() -> Int32

    Return Value

    color column index

  • Get the color column

    Declaration

    Objective-C

    - (GPKGAttributesColumn *)colorColumn;

    Swift

    func colorColumn() -> GPKGAttributesColumn!

    Return Value

    color column

  • Get the style color

    Declaration

    Objective-C

    - (CLRColor *)color;

    Swift

    func color() -> CLRColor!

    Return Value

    color

  • Check if the style has a color

    Declaration

    Objective-C

    - (BOOL)hasColor;

    Swift

    func hasColor() -> Bool

    Return Value

    true if has a color

  • Get the color

    Declaration

    Objective-C

    - (NSString *)hexColor;

    Swift

    func hexColor() -> String!

    Return Value

    color

  • Set the color

    Declaration

    Objective-C

    - (void)setColor:(CLRColor *)color;

    Swift

    func setColor(_ color: CLRColor!)

    Parameters

    color

    color

  • Set the color

    Declaration

    Objective-C

    - (void)setHexColor:(NSString *)color;

    Swift

    func setHexColor(_ color: String!)

    Parameters

    color

    Geometry color in hex format #RRGGBB or #RGB

  • Get the color or default value

    Declaration

    Objective-C

    - (CLRColor *)colorOrDefault;

    Swift

    func colorOrDefault() -> CLRColor!

    Return Value

    color

  • Get the color or default value

    Declaration

    Objective-C

    - (NSString *)hexColorOrDefault;

    Swift

    func hexColorOrDefault() -> String!

    Return Value

    color

  • Get the opacity column index

    Declaration

    Objective-C

    - (int)opacityColumnIndex;

    Swift

    func opacityColumnIndex() -> Int32

    Return Value

    opacity column index

  • Get the opacity column

    Declaration

    Objective-C

    - (GPKGAttributesColumn *)opacityColumn;

    Swift

    func opacityColumn() -> GPKGAttributesColumn!

    Return Value

    opacity column

  • Get the opacity

    Declaration

    Objective-C

    - (NSDecimalNumber *)opacity;

    Swift

    func opacity() -> NSDecimalNumber!

    Return Value

    opacity

  • Set the opacity

    Declaration

    Objective-C

    - (void)setOpacity:(NSDecimalNumber *)opacity;

    Swift

    func setOpacity(_ opacity: NSDecimalNumber!)

    Parameters

    opacity

    Geometry color opacity inclusively between 0.0 and 1.0

  • Set the opacity

    Declaration

    Objective-C

    - (void)setOpactiyValue:(double)opacity;

    Swift

    func setOpactiyValue(_ opacity: Double)

    Parameters

    opacity

    Geometry color opacity inclusively between 0.0 and 1.0

  • Get the opacity or default value

    Declaration

    Objective-C

    - (double)opacityOrDefault;

    Swift

    func opacityOrDefault() -> Double

    Return Value

    opacity

  • Get the width column index

    Declaration

    Objective-C

    - (int)widthColumnIndex;

    Swift

    func widthColumnIndex() -> Int32

    Return Value

    width column index

  • Get the width column

    Declaration

    Objective-C

    - (GPKGAttributesColumn *)widthColumn;

    Swift

    func widthColumn() -> GPKGAttributesColumn!

    Return Value

    width column

  • Get the width

    Declaration

    Objective-C

    - (NSDecimalNumber *)width;

    Swift

    func width() -> NSDecimalNumber!

    Return Value

    width

  • Set the width

    Declaration

    Objective-C

    - (void)setWidth:(NSDecimalNumber *)width;

    Swift

    func setWidth(_ width: NSDecimalNumber!)

    Parameters

    width

    Geometry line stroke or point width greater than or equal to 0.0

  • Set the width

    Declaration

    Objective-C

    - (void)setWidthValue:(double)width;

    Swift

    func setWidthValue(_ width: Double)

    Parameters

    width

    Geometry line stroke or point width greater than or equal to 0.0

  • Get the width value or default width

    Declaration

    Objective-C

    - (double)widthOrDefault;

    Swift

    func widthOrDefault() -> Double

    Return Value

    width

  • Get the fill color column index

    Declaration

    Objective-C

    - (int)fillColorColumnIndex;

    Swift

    func fillColorColumnIndex() -> Int32

    Return Value

    fill color column index

  • Get the fill color column

    Declaration

    Objective-C

    - (GPKGAttributesColumn *)fillColorColumn;

    Swift

    func fillColorColumn() -> GPKGAttributesColumn!

    Return Value

    fill color column

  • Get the style fill color

    Declaration

    Objective-C

    - (CLRColor *)fillColor;

    Swift

    func fillColor() -> CLRColor!

    Return Value

    fill color

  • Check if the style has a fill color

    Declaration

    Objective-C

    - (BOOL)hasFillColor;

    Swift

    func hasFillColor() -> Bool

    Return Value

    true if has a fill color

  • Get the fill color

    Declaration

    Objective-C

    - (NSString *)fillHexColor;

    Swift

    func fillHexColor() -> String!

    Return Value

    fill color

  • Set the fill color

    Declaration

    Objective-C

    - (void)setFillColor:(CLRColor *)color;

    Swift

    func setFillColor(_ color: CLRColor!)

    Parameters

    color

    color

  • Set the fill color

    Declaration

    Objective-C

    - (void)setFillHexColor:(NSString *)fillColor;

    Swift

    func setFillHexColor(_ fillColor: String!)

    Parameters

    fillColor

    Closed geometry fill color in hex format #RRGGBB or #RGB

  • Get the fill opacity column index

    Declaration

    Objective-C

    - (int)fillOpacityColumnIndex;

    Swift

    func fillOpacityColumnIndex() -> Int32

    Return Value

    fill opacity column index

  • Get the fill opacity column

    Declaration

    Objective-C

    - (GPKGAttributesColumn *)fillOpacityColumn;

    Swift

    func fillOpacityColumn() -> GPKGAttributesColumn!

    Return Value

    fill opacity column

  • Get the fill opacity

    Declaration

    Objective-C

    - (NSDecimalNumber *)fillOpacity;

    Swift

    func fillOpacity() -> NSDecimalNumber!

    Return Value

    fill opacity

  • Set the fill opacity

    Declaration

    Objective-C

    - (void)setFillOpacity:(NSDecimalNumber *)fillOpacity;

    Swift

    func setFillOpacity(_ fillOpacity: NSDecimalNumber!)

    Parameters

    fillOpacity

    Closed geometry fill color opacity inclusively between 0.0 and 1.0

  • Set the fill opacity

    Declaration

    Objective-C

    - (void)setFillOpacityValue:(double)fillOpacity;

    Swift

    func setFillOpacityValue(_ fillOpacity: Double)

    Parameters

    fillOpacity

    Closed geometry fill color opacity inclusively between 0.0 and 1.0

  • Get the fill opacity or default value

    Declaration

    Objective-C

    - (double)fillOpacityOrDefault;

    Swift

    func fillOpacityOrDefault() -> Double

    Return Value

    fill opacity