GPKGFeatureTileContext
Objective-C
@interface GPKGFeatureTileContext : NSObject
Swift
class GPKGFeatureTileContext
Feature Tile Context for creating layered tiles to draw ordered features. Draw Order: polygons, lines, points, icons
-
Initialize
Declaration
Objective-C
- (instancetype)initWithWidth:(int)tileWidth andHeight:(int)tileHeight;
Swift
init!(width tileWidth: Int32, andHeight tileHeight: Int32)
Parameters
tileWidth
tile width
tileHeight
tile height
Return Value
new feature tile context
-
Get the polygon context
Declaration
Objective-C
- (CGContextRef)polygonContext;
Swift
func polygonContext() -> Any!
Return Value
polygon context
-
Get the line context
Declaration
Objective-C
- (CGContextRef)lineContext;
Swift
func lineContext() -> Any!
Return Value
line context
-
Get the point context
Declaration
Objective-C
- (CGContextRef)pointContext;
Swift
func pointContext() -> Any!
Return Value
point context
-
Get the icon context
Declaration
Objective-C
- (CGContextRef)iconContext;
Swift
func iconContext() -> Any!
Return Value
icon context
-
Create the final image from the layers, resets the layers
Declaration
Objective-C
- (id)createImage;
Swift
func createImage() -> Any!
Return Value
image
-
Recycle the layered contexts
Declaration
Objective-C
- (void)recycle;
Swift
func recycle()