Returns a float array containing only the color
components of the Color in the
ColorSpace specified by the cspace
parameter. If compArray is null, an array
with length equal to the number of components in
cspace is created for the return value. Otherwise,
compArray must have at least this length, and it is
filled in with the components and returned.
cspace | a specified ColorSpace | |
compArray | an array that this method fills with the color
components of this Color in the specified
ColorSpace |
float array.
Diagram: Paint