MEPolygonStyle Class Reference

Inherits from MELineStyle : NSObject
Declared in MEPolygonStyle.h

Overview

Polygon style object.

  fillColor

Color to fill object with.

@property (atomic, retain) UIColor *fillColor

Declared In

MEPolygonStyle.h

  textureName

Texture to use to fill the polygon.

@property (atomic, retain) NSString *textureName

Declared In

MEPolygonStyle.h

  colorbarName

Colorbar name to use to fill the polygon. This only applies to 3D polygons created with addDynamicLine3dSkirtToVectorMap.

@property (atomic, retain) NSString *colorbarName

Declared In

MEPolygonStyle.h

  shadowColor

Color for drop shadow.

@property (atomic, retain) UIColor *shadowColor

Declared In

MEPolygonStyle.h

  shadowOffset

The x/y point offset of the drop shadow. The default is (2,-2)

@property (atomic, assign) CGPoint shadowOffset

Declared In

MEPolygonStyle.h

– initWithStrokeColor:strokeWidth:fillColor:

Init with stroke color, stroke width, and fill color.

- (id)initWithStrokeColor:(UIColor *)color strokeWidth:(CGFloat)width fillColor:(UIColor *)fcolor

Declared In

MEPolygonStyle.h

– initWithStrokeColor:strokeWidth:textureName:

Init with stroke color, stroke width, and texture.

- (id)initWithStrokeColor:(UIColor *)color strokeWidth:(CGFloat)width textureName:(NSString *)textureName

Declared In

MEPolygonStyle.h

– initWithFillColor:

Inits with the specified fill color, clear stroke color and stroke width of 1.

- (id)initWithFillColor:(UIColor *)fColor

Declared In

MEPolygonStyle.h