override fun equals()

in skiko/src/commonMain/kotlin/org/jetbrains/skia/paragraph/PlaceholderStyle.kt [42:50]


    override fun equals(other: Any?): Boolean {
        if (other === this) return true
        if (other !is PlaceholderStyle) return false
        if (width.compareTo(other.width) != 0) return false
        if (height.compareTo(other.height) != 0) return false
        if (baseline.compareTo(other.baseline) != 0) return false
        if (this.alignment != other.alignment) return false
        return this.baselineMode == other.baselineMode
    }