ColorSpace

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

public abstract class ColorSpace

Color spaces: the named ones as sRGB-family RGB spaces; colors are drawn in sRGB.

Nested types

Extended in the framework by

Fields

public static final float[] ILLUMINANT_D50 source
public static final float[] ILLUMINANT_D65 source

Methods

public static ColorSpace get(Named name) source
public static ColorSpace match(float[] toXYZD50, Rgb.TransferParameters function) source
public static ColorSpace adapt(ColorSpace colorSpace, float[] whitePoint) source
public String getName() source
public int getId() source
public Model getModel() source
public int getComponentCount() source
public boolean isWideGamut() source
public boolean isSrgb() source
public abstract float getMinValue(int component) source
public abstract float getMaxValue(int component) source
public float[] toXyz(float r, float g, float b) source
public abstract float[] toXyz(float[] v) source
public float[] fromXyz(float x, float y, float z) source
public abstract float[] fromXyz(float[] v) source
public String toString() 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.