override fun equals()

in skiko/src/commonMain/kotlin/org/jetbrains/skia/Color4f.kt [36:43]


    override fun equals(other: Any?): Boolean {
        if (other === this) return true
        if (other !is Color4f) return false
        if (r.compareTo(other.r) != 0) return false
        if (g.compareTo(other.g) != 0) return false
        if (b.compareTo(other.b) != 0) return false
        return a.compareTo(other.a) == 0
    }