component3
Returns the third component of the color. For instance, when the color model of the color is android.graphics.ColorSpace.Model.RGB, the third component is "blue". = * This method allows to use destructuring declarations when working with colors, for example:
val (red, green, blue) = myColorReturn the green component of a color int. This is equivalent to calling:
Color.green(myInt)This method allows to use destructuring declarations when working with colors, for example:
val (alpha, red, green, blue) = myColorReturns the third component of the color. For instance, when the color model of the color is android.graphics.ColorSpace.Model.RGB, the third component is "blue".
This method allows to use destructuring declarations when working with colors, for example:
val (red, green, blue, alpha) = myColorLongReturns "right", the third component of the rectangle.
This method allows to use destructuring declarations when working with rectangles, for example:
val (left, top, right, bottom) = myRectangle