GPKGIconRow

Objective-C

@interface GPKGIconRow : GPKGMediaRow

Swift

class GPKGIconRow : GPKGMediaRow

Icon Row containing the values from a single result set row

  • Table icon flag

    Declaration

    Objective-C

    @property (nonatomic) BOOL tableIcon;

    Swift

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

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()
  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithIconTable:(GPKGIconTable *)table
                           andColumns:(GPKGUserColumns *)columns
                            andValues:(NSMutableArray *)values;

    Swift

    init!(iconTable table: GPKGIconTable!, andColumns columns: GPKGUserColumns!, andValues values: NSMutableArray!)

    Parameters

    table

    icon table

    columns

    columns

    values

    values

    Return Value

    new icon row

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithIconTable:(GPKGIconTable *)table;

    Swift

    init!(iconTable table: GPKGIconTable!)

    Parameters

    table

    icon table

    Return Value

    new icon row

  • Get the icon table

    Declaration

    Objective-C

    - (GPKGIconTable *)iconTable;

    Swift

    func iconTable() -> GPKGIconTable!

    Return Value

    icon 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

    - (GPKGUserCustomColumn *)nameColumn;

    Swift

    func nameColumn() -> GPKGUserCustomColumn!

    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

    - (GPKGUserCustomColumn *)descriptionColumn;

    Swift

    func descriptionColumn() -> GPKGUserCustomColumn!

    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 width column index

    Declaration

    Objective-C

    - (int)widthColumnIndex;

    Swift

    func widthColumnIndex() -> Int32

    Return Value

    width column index

  • Get the width column

    Declaration

    Objective-C

    - (GPKGUserCustomColumn *)widthColumn;

    Swift

    func widthColumn() -> GPKGUserCustomColumn!

    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

    Icon display width, when null use actual icon width

  • Set the width

    Declaration

    Objective-C

    - (void)setWidthValue:(double)width;

    Swift

    func setWidthValue(_ width: Double)

    Parameters

    width

    Icon display width, when null use actual icon width

  • Get the width or derived width from the icon data and scaled as needed for the height

    Declaration

    Objective-C

    - (double)derivedWidth;

    Swift

    func derivedWidth() -> Double

    Return Value

    derived width

  • Get the height column index

    Declaration

    Objective-C

    - (int)heightColumnIndex;

    Swift

    func heightColumnIndex() -> Int32

    Return Value

    height column index

  • Get the height column

    Declaration

    Objective-C

    - (GPKGUserCustomColumn *)heightColumn;

    Swift

    func heightColumn() -> GPKGUserCustomColumn!

    Return Value

    height column

  • Get the height

    Declaration

    Objective-C

    - (NSDecimalNumber *)height;

    Swift

    func height() -> NSDecimalNumber!

    Return Value

    height

  • Set the height

    Declaration

    Objective-C

    - (void)setHeight:(NSDecimalNumber *)height;

    Swift

    func setHeight(_ height: NSDecimalNumber!)

    Parameters

    height

    Icon display height, when null use actual icon height

  • Set the height

    Declaration

    Objective-C

    - (void)setHeightValue:(double)height;

    Swift

    func setHeightValue(_ height: Double)

    Parameters

    height

    Icon display height, when null use actual icon height

  • Get the height or derived height from the icon data and scaled as needed for the width

    Declaration

    Objective-C

    - (double)derivedHeight;

    Swift

    func derivedHeight() -> Double

    Return Value

    derived height

  • Get the derived width and height from the values and icon data, scaled as needed

    Declaration

    Objective-C

    - (double *)derivedDimensions;

    Swift

    func derivedDimensions() -> UnsafeMutablePointer<Double>!

    Return Value

    derived dimensions array with two values, width at index 0, height at index 1

  • Get the anchor u column index

    Declaration

    Objective-C

    - (int)anchorUColumnIndex;

    Swift

    func anchorUColumnIndex() -> Int32

    Return Value

    anchor u column index

  • Get the anchor u column

    Declaration

    Objective-C

    - (GPKGUserCustomColumn *)anchorUColumn;

    Swift

    func anchorUColumn() -> GPKGUserCustomColumn!

    Return Value

    anchor u column

  • Get the anchor u

    Declaration

    Objective-C

    - (NSDecimalNumber *)anchorU;

    Swift

    func anchorU() -> NSDecimalNumber!

    Return Value

    anchor u

  • Set the anchor u

    Declaration

    Objective-C

    - (void)setAnchorU:(NSDecimalNumber *)anchor;

    Swift

    func setAnchorU(_ anchor: NSDecimalNumber!)

    Parameters

    anchor

    UV Mapping horizontal anchor distance inclusively between 0.0 and 1.0 from the left edge, when null assume 0.5 (middle of icon)

  • Set the anchor u

    Declaration

    Objective-C

    - (void)setAnchorUValue:(double)anchor;

    Swift

    func setAnchorUValue(_ anchor: Double)

    Parameters

    anchor

    UV Mapping horizontal anchor distance inclusively between 0.0 and 1.0 from the left edge, when null assume 0.5 (middle of icon)

  • Get the anchor u value or the default value of 0.5

    Declaration

    Objective-C

    - (double)anchorUOrDefault;

    Swift

    func anchorUOrDefault() -> Double

    Return Value

    anchor u value

  • Get the anchor v column index

    Declaration

    Objective-C

    - (int)anchorVColumnIndex;

    Swift

    func anchorVColumnIndex() -> Int32

    Return Value

    anchor v column index

  • Get the anchor v column

    Declaration

    Objective-C

    - (GPKGUserCustomColumn *)anchorVColumn;

    Swift

    func anchorVColumn() -> GPKGUserCustomColumn!

    Return Value

    anchor v column

  • Get the anchor v

    Declaration

    Objective-C

    - (NSDecimalNumber *)anchorV;

    Swift

    func anchorV() -> NSDecimalNumber!

    Return Value

    anchor v

  • Set the anchor v

    Declaration

    Objective-C

    - (void)setAnchorV:(NSDecimalNumber *)anchor;

    Swift

    func setAnchorV(_ anchor: NSDecimalNumber!)

    Parameters

    anchor

    UV Mapping vertical anchor distance inclusively between 0.0 and 1.0 from the top edge, when null assume 1.0 (bottom of icon)

  • Set the anchor v

    Declaration

    Objective-C

    - (void)setAnchorVValue:(double)anchor;

    Swift

    func setAnchorVValue(_ anchor: Double)

    Parameters

    anchor

    UV Mapping vertical anchor distance inclusively between 0.0 and 1.0 from the top edge, when null assume 1.0 (bottom of icon)

  • Get the anchor v value or the default value of 1.0

    Declaration

    Objective-C

    - (double)anchorVOrDefault;

    Swift

    func anchorVOrDefault() -> Double

    Return Value

    anchor v value