AGSRampInterpolator Class Reference


Description

Instances of this class represent interpolators that can be used to change the appearance of features.

A ramp interpolator finds a suitable size and color for a feature from a ramp (range) of sizes and colors. The ramps are specified using starting and ending values. The interpolator determines the exact size and color for a feature by comparing the feature's time information with the map's time extent. For example, if a feature's time information falls in the center of the map's time extent, a size and color from the middle of the specified range is used for the symbol. When a feature's time information contains both a start time and an end time, the start time is compared with the map's time extent to determine size and color to use.

Defined in:
AGSRampInterpolator.h ( ArcGIS library)
Since:
1.8
Inheritance diagram for AGSRampInterpolator:
AGSSymbolInterpolator

List of all members.

Public Member Functions

(id) - initWithStartColor:endColor:
(id) - initWithStartColor:endColor:startSize:endSize:
(AGSSymbol *) - interpolatedSymbolForGraphic:originalSymbol:start:end:val:

Static Public Member Functions

(AGSRampInterpolator *) + rampInterpolatorWithStartColor:endColor:
(AGSRampInterpolator *) + rampInterpolatorWithStartColor:endColor:startSize:endSize:

Properties

UIColor * endColor
CGFloat endSize
UIColor * startColor
CGFloat startSize

Member Function Documentation

- (id) initWithStartColor: (UIColor *)  startColor
endColor: (UIColor *)  endColor 

Initializes an AGSRampInterpolator.

Since:
1.8
- (id) initWithStartColor: (UIColor *)  startColor
endColor: (UIColor *)  endColor
startSize: (CGFloat)  startSize
endSize: (CGFloat)  endSize 

Initializes an AGSRampInterpolator.

Since:
1.8
- (AGSSymbol*) interpolatedSymbolForGraphic: (AGSGraphic *)  graphic
originalSymbol: (AGSSymbol *)  origSymbol
start: (double)  start
end: (double)  end
val: (double)  val 

Returns an interpolated symbol for the specified feature.

Since:
1.8
+ (AGSRampInterpolator*) rampInterpolatorWithStartColor: (UIColor *)  startColor
endColor: (UIColor *)  endColor 

Returns an autoreleased AGSRampInterpolator.

Since:
1.8
+ (AGSRampInterpolator*) rampInterpolatorWithStartColor: (UIColor *)  startColor
endColor: (UIColor *)  endColor
startSize: (CGFloat)  startSize
endSize: (CGFloat)  endSize 

Returns an autoreleased AGSRampInterpolator.

Since:
1.8

Property Documentation

- (UIColor*) endColor [read, write, retain]

The end color of the ramp.

Since:
1.8
- (CGFloat) endSize [read, write, assign]

The end size of the ramp.

Since:
1.8
- (UIColor*) startColor [read, write, retain]

The start color of the ramp.

Since:
1.8
- (CGFloat) startSize [read, write, assign]

The start size of the ramp.

Since:
1.8