new SuperMap.ServerColor(options)
ServerColor.js, line 3
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The optional parameter.
|
Members
-
bluenumber
-
Gets or sets the blue value.
-
greennumber
-
Gets or sets the green value.
-
rednumber
-
Gets or sets the red value.
- Default Value: 255
Methods
-
SuperMap.ServerColor.formJson(jsonObject){SuperMap.ServerColor}
ServerColor.js, line 49 -
Transform the JSON object to the ServerColor object
Name Type Description jsonObject
Object the JSON object to be turned.
Returns:
Type Description SuperMap.ServerColor the ServerColor object. -
destroy()
ServerColor.js, line 37 -
Disposes the resource. The property that references resource is set to null.