ColorSpace.Rgb.GetMaxValue(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the maximum valid value for the specified component of this color space's color model.
[Android.Runtime.Register("getMaxValue", "(I)F", "GetGetMaxValue_IHandler", ApiSince=26)]
public override float GetMaxValue(int component);
[<Android.Runtime.Register("getMaxValue", "(I)F", "GetGetMaxValue_IHandler", ApiSince=26)>]
override this.GetMaxValue : int -> single
Parameters
- component
- Int32
The index of the component. Value is between 0 and 3 inclusive
Returns
A floating point value greater than getMinValue(int)
- Attributes
Remarks
Returns the maximum valid value for the specified component of this color space's color model.
Android reference for android.graphics.ColorSpace.Rgb.getMaxValue.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.