ArcGIS Runtime SDK for iOS: AGSRenderingRule Class Reference
ArcGIS Runtime SDK for iOS  100.9
AGSRenderingRule Class Reference

Description

A rendering rule to apply to an AGSImageServiceRaster.

An instance of this class represents a rendering rule to apply to an AGSImageServiceRaster. The rendering rule could be predefined on the service, or it could be defined in JSON on the client and then sent to the service, but in both cases the processing in performed on the service to apply it.

See also
AGSImageServiceRaster::renderingRule
Since
100.1
Inheritance diagram for AGSRenderingRule:
AGSObject

Instance Methods

(instancetype) - initWithRenderingRuleInfo:
 
(instancetype) - initWithRenderingRuleJSON:
 

Class Methods

(instancetype) + renderingRuleWithRenderingRuleInfo:
 
(instancetype) + renderingRuleWithRenderingRuleJSON:
 

Properties

AGSRenderingRuleInforenderingRuleInfo
 
NSDictionary< NSString *, id > * renderingRuleJSON
 

Method Documentation

§ initWithRenderingRuleInfo:()

- (instancetype) initWithRenderingRuleInfo: (AGSRenderingRuleInfo *)  renderingRuleInfo

Initialize this rendering rule with information about a pre-existing rendering rule available in the ArcGIS Image Service

Parameters
renderingRuleInfospecifying a predefined rendering rule in the ArcGIS Image Service
Returns
Initialized rendering rule
Since
100.1

§ initWithRenderingRuleJSON:()

- (instancetype) initWithRenderingRuleJSON: (NSDictionary< NSString *, id > *)  renderingRuleJSON

Initialize this rendering rule with provided JSON definition

Parameters
renderingRuleJSONdefining a new rendering rule
Returns
Initialized rendering rule
Since
100.1

§ renderingRuleWithRenderingRuleInfo:()

+ (instancetype) renderingRuleWithRenderingRuleInfo: (AGSRenderingRuleInfo *)  renderingRuleInfo

Initialize this rendering rule with information about a pre-existing rendering rule available in the ArcGIS Image Service

Parameters
renderingRuleInfospecifying a predefined rendering rule in the ArcGIS Image Service
Returns
Initialized rendering rule
Since
100.1

§ renderingRuleWithRenderingRuleJSON:()

+ (instancetype) renderingRuleWithRenderingRuleJSON: (NSString *)  renderingRuleJSON

Initialize this rendering rule with provided JSON definition

Parameters
renderingRuleJSONdefining a new rendering rule
Returns
Initialized rendering rule
Since
100.1

Property Documentation

§ renderingRuleInfo

- (AGSRenderingRuleInfo*) renderingRuleInfo
readnonatomicstrong

Information about a predefined rendering rule in the ArcGIS Image Service Either this property or renderingRuleJSON may be populated, but not both.

Since
100.1

§ renderingRuleJSON

- (NSDictionary<NSString*,id>*) renderingRuleJSON
readnonatomiccopy

JSON definition of a new rendering rule Either this property or renderingRuleInfo may be populated, but not both.

Since
100.1