Base class for all shapes (deCartaPolyline, deCartaPolygon, deCartaCircle). More...
#import <deCartaShape.h>
Public Member Functions | |
| (id) | - initWithName: |
Properties | |
| NSString * | name |
| BOOL | visible |
| int | fillColor |
| float | opacity |
Base class for all shapes (deCartaPolyline, deCartaPolygon, deCartaCircle).
A deCartaShape, and the subclasses deCartaCircle, deCartaPolyline and deCartaPolygon, are used to visually display an overlay on an initialized deCartaMap. To use, simply create the shape, sometimes referred to as overlays, and add the shape to an instance of a deCartaMap with deCartaMap.addOverlay:.
| - (id) initWithName: | (NSString *) | inShapeName |
Initializes a deCartaShape object with a name
| inShapeName | String indicating the name of the shape instance |
- (int) fillColor [read, write, assign] |
The color of the shape or line. Defined in RGB format: 0xXXRRGGBB
- (NSString*) name [read, retain] |
Name of the deCartaShape
- (float) opacity [read, write, assign] |
Opacity of the shape, ranging from 0.0 (transparent) to 1.0 (opaque)
- (BOOL) visible [read, write, assign] |
TRUE/FALSE visibility property
1.6.1