|
ArcGIS Runtime SDK for iOS
100.15
|
A color ramp representing a range of colors.
An instance of this class represents a color ramp specifying a range of colors useful for displaying continuous raster data such as elevation or precipitation. Color ramps are used with AGSBlendRenderer and AGSStretchRenderer to visualize raster data.
Instance Methods | |
| (nullable instancetype) | - initWithType:size: |
Class Methods | |
| (nullable instancetype) | + colorRampWithType:size: |
| + (nullable instancetype) colorRampWithType: | (AGSPresetColorRampType) | type | |
| size: | (NSInteger) | size | |
Initialize color ramp with specified parameters
| type | The predefined color ramp type |
| size | of the color ramp. Use at least 256 to achieve a reasonable color transition, but for smoother transitions use larger values (for eg 20,000-30,000) to match the number of unique pixel values in your raster data. |
| - (nullable instancetype) initWithType: | (AGSPresetColorRampType) | type | |
| size: | (NSInteger) | size | |
Initialize color ramp with specified parameters
| type | The predefined color ramp type |
| size | of the color ramp. Use at least 256 to achieve a reasonable color transition, but for smoother transitions use larger values (for eg 20,000-30,000) to match the number of unique pixel values in your raster data. |