core-ktx / androidx.graphics / android.graphics.Bitmap / set

set

inline operator fun Bitmap.set(x: Int, y: Int, color: Int): Unit

Writes the specified color int into the bitmap (assuming it is mutable) at the specified (x, y) coordinate. The specified color is converted from sRGB to the bitmap's color space if needed.