Class RenderingRuleInfo

java.lang.Object
com.esri.arcgisruntime.arcgisservices.RenderingRuleInfo

public final class RenderingRuleInfo extends Object
Information about a rendering rule that specifies how images are rendered or processed on an ArcGIS image service.

You can obtain a RenderingRuleInfo from the collection of predefined RenderingRuleInfo objects provided by an ArcGIS image service. Alternatively, you can construct a RenderingRuleInfo by providing the name of a predefined service rendering rule.

To apply the rendering rule, construct a RenderingRule from the RenderingRuleInfo and pass the RenderingRule to an ImageServiceRaster before it is loaded. Next, construct a RasterLayer from the ImageServiceRaster, and add it to the map or scene's operational layers.

Since:
100.1.0
  • Constructor Details

    • RenderingRuleInfo

      public RenderingRuleInfo(String name)
      Creates a rendering rule info object with the name of a predefined service rendering rule.
      Parameters:
      name - the predefined service rendering rule name
      Throws:
      IllegalArgumentException - if name is null or empty
      Since:
      100.1.0
  • Method Details

    • getDescription

      public String getDescription()
      Gets the description of a predefined service rendering rule.
      Returns:
      the description
      Since:
      100.1.0
    • getHelp

      public String getHelp()
      Gets the help string of a predefined service rendering rule.
      Returns:
      the help string
      Since:
      100.1.0
    • getName

      public String getName()
      Gets the name of a predefined service rendering rule.
      Returns:
      the name
      Since:
      100.1.0