maximumRasterBrightness property
Increase or reduce the brightness of the image. The value is the maximum brightness.
The default value of this property is an expression that evaluates to the float
1. Set this property to nil to reset it to the default value.
This attribute corresponds to the raster-brightness-max
layout property in the MapLibre Style Spec.
You can set this property to an expression containing any of the following:
Constant numeric values between 0 and 1 inclusive
Predefined functions, including mathematical and string operators
Conditional expressions
Variable assignments and references to assigned variables
Interpolation and step functions applied to the $zoomLevel variable
This property does not support applying interpolation or step functions to feature attributes.
Implementation
NSExpression get maximumRasterBrightness {
final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_maximumRasterBrightness);
return NSExpression.castFromPointer(_ret, retain: true, release: true);
}
Increase or reduce the brightness of the image. The value is the maximum brightness.
The default value of this property is an expression that evaluates to the float
1. Set this property to nil to reset it to the default value.
This attribute corresponds to the raster-brightness-max
layout property in the MapLibre Style Spec.
You can set this property to an expression containing any of the following:
Constant numeric values between 0 and 1 inclusive
Predefined functions, including mathematical and string operators
Conditional expressions
Variable assignments and references to assigned variables
Interpolation and step functions applied to the $zoomLevel variable
This property does not support applying interpolation or step functions to feature attributes.
Implementation
set maximumRasterBrightness(NSExpression value) {
_objc_msgSend_xtuoz7(this.ref.pointer, _sel_setMaximumRasterBrightness_, value.ref.pointer);
}