| Inherits from | NSObject |
| Declared in | PBBitmap.h |
Overview
Helper class to convert a UIImage to Pebble bitmap pixel data and GBitmap metadata. Refer to the documentation of Pebble’s native watch app SDK on the GBitmap format.
pixelData
The pixel data of the bitmap.
This corresponds to the data as pointed to by GBitmap’s addr field.
@property (nonatomic, readonly, strong) NSData *pixelDataDeclared In
PBBitmap.h
rowSizeBytes
The number of bytes per row. Always a multiple of 4 bytes.
@property (nonatomic, readonly, assign) uint16_t rowSizeBytesDeclared In
PBBitmap.h
infoFlags
Bitfield of metadata flags.
This corresponds to GBitmap’s info_flags field.
@property (nonatomic, readonly, assign) uint16_t infoFlagsDeclared In
PBBitmap.h
bounds
The box of bits inside pixelData, that contains
the actual image data to use.
This corresponds to GBitmap’s bounds field.
@property (nonatomic, readonly, assign) GRect boundsDeclared In
PBBitmap.h