GPKGTileRow
Objective-C
@interface GPKGTileRow : GPKGUserRow
Swift
class GPKGTileRow : GPKGUserRow
Tile Row containing the values from a single results row
-
Tile Table
Declaration
Objective-C
@property (nonatomic, strong) GPKGTileTable *tileTable;Swift
var tileTable: GPKGTileTable! { get set } -
Tile Columns
Declaration
Objective-C
@property (nonatomic, strong) GPKGTileColumns *tileColumns;Swift
var tileColumns: GPKGTileColumns! { get set } -
Initialize
Declaration
Objective-C
- (instancetype)initWithTileTable:(GPKGTileTable *)table andColumns:(GPKGTileColumns *)columns andValues:(NSMutableArray *)values;Swift
init!(tileTable table: GPKGTileTable!, andColumns columns: GPKGTileColumns!, andValues values: NSMutableArray!)Parameters
tabletile table
columnscolumns
valuesvalues
Return Value
new tile row
-
Initialize
Declaration
Objective-C
- (instancetype)initWithTileTable:(GPKGTileTable *)table;Swift
init!(tileTable table: GPKGTileTable!)Parameters
tabletile table
Return Value
new tile row
-
Get the zoom level column index
Declaration
Objective-C
- (int)zoomLevelColumnIndex;Swift
func zoomLevelColumnIndex() -> Int32Return Value
zoom level column index
-
Get the zoom level column
Declaration
Objective-C
- (GPKGTileColumn *)zoomLevelColumn;Swift
func zoomLevelColumn() -> GPKGTileColumn!Return Value
zoom level column
-
Get the zoom level
Declaration
Objective-C
- (int)zoomLevel;Swift
func zoomLevel() -> Int32Return Value
zoom level
-
Set the zoom level
Declaration
Objective-C
- (void)setZoomLevel:(int)zoomLevel;Swift
func setZoomLevel(_ zoomLevel: Int32)Parameters
zoomLevelzoom level
-
Get the tile column column index
Declaration
Objective-C
- (int)tileColumnColumnIndex;Swift
func tileColumnColumnIndex() -> Int32Return Value
tile column column index
-
Get the tile column column
Declaration
Objective-C
- (GPKGTileColumn *)tileColumnColumn;Swift
func tileColumnColumn() -> GPKGTileColumn!Return Value
tile column column
-
Get the tile column
Declaration
Objective-C
- (int)tileColumn;Swift
func tileColumn() -> Int32Return Value
tile column
-
Set the tile column
Declaration
Objective-C
- (void)setTileColumn:(int)tileColumn;Swift
func setTileColumn(_ tileColumn: Int32)Parameters
tileColumntile column
-
Get the tile row column index
Declaration
Objective-C
- (int)tileRowColumnIndex;Swift
func tileRowColumnIndex() -> Int32Return Value
tile row column index
-
Get the tile row column
Declaration
Objective-C
- (GPKGTileColumn *)tileRowColumn;Swift
func tileRowColumn() -> GPKGTileColumn!Return Value
tile row column
-
Get the tile row
Declaration
Objective-C
- (int)tileRow;Swift
func tileRow() -> Int32Return Value
tile row
-
Set the tile row
Declaration
Objective-C
- (void)setTileRow:(int)tileRow;Swift
func setTileRow(_ tileRow: Int32)Parameters
tileRowtile row
-
Get the tile data column index
Declaration
Objective-C
- (int)tileDataColumnIndex;Swift
func tileDataColumnIndex() -> Int32Return Value
tile data column index
-
Get the tile data column
Declaration
Objective-C
- (GPKGTileColumn *)tileDataColumn;Swift
func tileDataColumn() -> GPKGTileColumn!Return Value
tile data column
-
Get the tile data
Declaration
Objective-C
- (NSData *)tileData;Swift
func tileData() -> Data!Return Value
tile data
-
Set the tile data
Declaration
Objective-C
- (void)setTileData:(NSData *)tileData;Swift
func setTileData(_ tileData: Data!)Parameters
tileDatatile data
-
Get the tile data as an image
Declaration
Objective-C
- (id)tileDataImage;Swift
func tileDataImage() -> Any!Return Value
tile image
-
Get the tile data as a scaled image
Declaration
Objective-C
- (id)tileDataImageWithScale:(CGFloat)scale;Swift
func tileDataImage(withScale scale: CGFloat) -> Any!Parameters
scalescale, 0.0 to 1.0
Return Value
tile image
-
Set the tile data with an image
Declaration
Objective-C
- (void)setTileDataWithImage:(id)image andFormat:(enum GPKGCompressFormat)format;Swift
func setTileDataWithImage(_ image: Any!, andFormat format: GPKGCompressFormat)Parameters
imageimage
formatimage format
-
Set the tile data with an image
Declaration
Objective-C
- (void)setTileDataWithImage:(id)image andFormat:(enum GPKGCompressFormat)format andQuality:(CGFloat)quality;Swift
func setTileDataWithImage(_ image: Any!, andFormat format: GPKGCompressFormat, andQuality quality: CGFloat)Parameters
imageimage
formatimage format
qualitycompression quality, 0.0 to 1.0, used only for GPKG_CF_JPEG
View on GitHub
GPKGTileRow Class Reference