GPKGCoverageDataPngImage
Objective-C
@interface GPKGCoverageDataPngImage : NSObject <GPKGCoverageDataImage>
Swift
class GPKGCoverageDataPngImage : NSObject, GPKGCoverageDataImage
Coverage Data PNG image
-
Initialize
Declaration
Objective-C
- (instancetype)initWithTileRow:(GPKGTileRow *)tileRow;Swift
init!(tileRow: GPKGTileRow!)Parameters
tileRowtile row
Return Value
new instance
-
Get the image
Declaration
Objective-C
- (id)image;Swift
func image() -> Any!Return Value
image
-
Get the image data
Declaration
Objective-C
- (NSData *)imageData;Swift
func imageData() -> Data!Return Value
image data
-
Get the pixel at the coordinate
Declaration
Objective-C
- (unsigned short)pixelAtX:(int)x andY:(int)y;Swift
func pixelAt(x: Int32, andY y: Int32) -> UInt16Parameters
xx coordinate
yy coordinate
Return Value
pixel value
View on GitHub
GPKGCoverageDataPngImage Class Reference