Rgb

Class of android.graphics, in ColorSpace · ColorSpace.java · Android's reference

public static class Rgb extends ColorSpace

Rgb ← ColorSpace

Nested types

Constructors

public Rgb(String name, float[] primaries, float[] whitePoint, TransferParameters function) source
public Rgb(String name, float[] toXYZ, TransferParameters function) source
public Rgb(String name, float[] primaries, float[] whitePoint, java.util.function.DoubleUnaryOperator oetf, java.util.function.DoubleUnaryOperator eotf, float min, float max) source

Methods

public float[] getPrimaries() source
public float[] getWhitePoint() source
public TransferParameters getTransferParameters() source
public java.util.function.DoubleUnaryOperator getOetf() source

The opto-electronic transfer: sRGB's, or the parametric function's inverse

public java.util.function.DoubleUnaryOperator getEotf() source

The electro-optical transfer: sRGB's, or the parametric function

public float[] getTransform() source
public float[] getInverseTransform() source
public float getMinValue(int component) source
public float getMaxValue(int component) source
public float[] toXyz(float[] v) source
public float[] fromXyz(float[] v) source

Made 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.