AGSSimpleFillSymbol Class Reference
Description
Instances of this class represent simple fill symbols. Symbols describe how graphics look on the map. Different symbols are used for graphics with different geometry types. Fill symbols are used with graphics which are based on a polygon geometry. The symbol can fill the interior of a polygon graphic with a solid color. In addition, the symbol can have an optional outline which is defined by a line symbol.
- Defined in:
- AGSFillSymbol.h ( ArcGIS library)
- Since:
- 1.0
List of all members.
Member Function Documentation
- (void) decodeWithJSON: |
|
(NSDictionary *) |
json |
|
[optional, inherited] |
Decode object from JSON representation.
- Parameters:
-
| json | The JSON representation of the object to be decoded. |
- Since:
- 1.0
- (NSDictionary *) encodeToJSON |
|
|
|
[optional, inherited] |
Encode and return JSON representation for object.
- Returns:
- JSON representation of object.
- Since:
- 1.0
- (id) initWithColor: |
|
(UIColor *) |
fillColor |
outlineColor: |
|
(UIColor *) |
outlineColor | |
|
|
| | |
Initialize a symbol with a fill color and an outline color
- Since:
- 1.8
- (id) initWithJSON: |
|
(NSDictionary *) |
json |
|
[optional, inherited] |
Initialize and return object from JSON representation.
- Parameters:
-
| json | The JSON representation of the object to be created. |
- Returns:
- Object decoded from JSON representation.
- Since:
- 1.0
Initialize an autoreleased symbol.
- Returns:
- A new, autoreleased, simple fill symbol object.
- Since:
- 1.0
+ (AGSSimpleFillSymbol*) simpleFillSymbolWithColor: |
|
(UIColor *) |
fillColor |
outlineColor: |
|
(UIColor *) |
outlineColor | |
|
|
| | |
Initialize an autoreleased symbol with a fill color and an outline color
- Since:
- 1.8
- (UIImage *) swatchForGeometryType: |
|
(AGSGeometryType) |
geometryType |
size: |
|
(CGSize) |
size | |
|
|
| | |
Returns an image that represents a swatch for a particular geometry type.
- Parameters:
-
| geometryType | The type of the geometry determines what kind of swatch is drawn. |
| size | Size of the output swatch. |
- Returns:
- UIImage of the drawn swatch.
Property Documentation
- (UIColor*) color [read, write, retain, inherited] |
This outline of the symbol.
- Since:
- 1.0
The fill style. Possible values include
AGSSimpleFillSymbolStyleBackwardDiagonal
AGSSimpleFillSymbolStyleCross
AGSSimpleFillSymbolStyleDiagonalCross
AGSSimpleFillSymbolStyleForwardDiagonal
AGSSimpleFillSymbolStyleHorizontal
AGSSimpleFillSymbolStyleNull
AGSSimpleFillSymbolStyleSolid
AGSSimpleFillSymbolStyleVertical
Default is AGSSimpleFillSymbolStyleSolid.
- Since:
- 1.0