ArcGIS Runtime SDK for macOS

Stretch renderer

Description

This sample demonstrates how to use stretch renderer on a raster layer. The sample allows you to change the stretch type and the parameters for each type. You can click on the Apply button to update the raster.

How it works

The sample uses AGSStretchRenderer class to generate stretch renderers. The settings provided by the user are put in the initializer init(stretchParameters:gammas:estimateStatistics:colorRamp:) to get a new renderer and the renderer is then set on the raster.


In this topic
  1. Description