Class of android.graphics, in ColorSpace · ColorSpace.java · Android's reference
public static class Rgb extends ColorSpace
Rgb ← ColorSpace
public Rgb(String name, float[] primaries, float[] whitePoint, TransferParameters function) sourcepublic Rgb(String name, float[] toXYZ, TransferParameters function) sourcepublic Rgb(String name, float[] primaries, float[] whitePoint, java.util.function.DoubleUnaryOperator oetf, java.util.function.DoubleUnaryOperator eotf, float min, float max) sourcepublic float[] getPrimaries() sourcepublic float[] getWhitePoint() sourcepublic TransferParameters getTransferParameters() sourcepublic java.util.function.DoubleUnaryOperator getOetf() sourceThe opto-electronic transfer: sRGB's, or the parametric function's inverse
public java.util.function.DoubleUnaryOperator getEotf() sourceThe electro-optical transfer: sRGB's, or the parametric function
public float[] getTransform() sourcepublic float[] getInverseTransform() sourcepublic float getMinValue(int component) sourcepublic float getMaxValue(int component) sourcepublic float[] toXyz(float[] v) sourcepublic float[] fromXyz(float[] v) sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.