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
tablestyle table
columnscolumns
valuesvalues
Return Value
new style row
-
Initialize
Declaration
Objective-C
- (instancetype)initWithStyleTable:(GPKGStyleTable *)table;Swift
init!(styleTable table: GPKGStyleTable!)Parameters
tablestyle table
Return Value
new style row
-
Get the style table
Return Value
style table
-
Get the name column index
Declaration
Objective-C
- (int)nameColumnIndex;Swift
func nameColumnIndex() -> Int32Return 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
nameFeature Icon name
-
Get the description column index
Declaration
Objective-C
- (int)descriptionColumnIndex;Swift
func descriptionColumnIndex() -> Int32Return 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
descriptionFeature Icon description
-
Get the color column index
Declaration
Objective-C
- (int)colorColumnIndex;Swift
func colorColumnIndex() -> Int32Return 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
Return Value
color
-
Check if the style has a color
Declaration
Objective-C
- (BOOL)hasColor;Swift
func hasColor() -> BoolReturn Value
true if has a color
-
Get the color
Declaration
Objective-C
- (NSString *)hexColor;Swift
func hexColor() -> String!Return Value
color
-
Set the color
Parameters
colorcolor
-
Set the color
Declaration
Objective-C
- (void)setHexColor:(NSString *)color;Swift
func setHexColor(_ color: String!)Parameters
colorGeometry color in hex format #RRGGBB or #RGB
-
Get the color or default value
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() -> Int32Return 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
opacityGeometry 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
opacityGeometry color opacity inclusively between 0.0 and 1.0
-
Get the opacity or default value
Declaration
Objective-C
- (double)opacityOrDefault;Swift
func opacityOrDefault() -> DoubleReturn Value
opacity
-
Get the width column index
Declaration
Objective-C
- (int)widthColumnIndex;Swift
func widthColumnIndex() -> Int32Return 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
widthGeometry 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
widthGeometry 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() -> DoubleReturn Value
width
-
Get the fill color column index
Declaration
Objective-C
- (int)fillColorColumnIndex;Swift
func fillColorColumnIndex() -> Int32Return 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
Return Value
fill color
-
Check if the style has a fill color
Declaration
Objective-C
- (BOOL)hasFillColor;Swift
func hasFillColor() -> BoolReturn 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)setFillHexColor:(NSString *)fillColor;Swift
func setFillHexColor(_ fillColor: String!)Parameters
fillColorClosed geometry fill color in hex format #RRGGBB or #RGB
-
Get the fill opacity column index
Declaration
Objective-C
- (int)fillOpacityColumnIndex;Swift
func fillOpacityColumnIndex() -> Int32Return 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
fillOpacityClosed 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
fillOpacityClosed 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() -> DoubleReturn Value
fill opacity
View on GitHub
GPKGStyleRow Class Reference