override fun equals()

in skiko/src/commonMain/kotlin/org/jetbrains/skia/paragraph/DecorationStyle.kt [57:67]


    override fun equals(other: Any?): Boolean {
        if (other === this) return true
        if (other !is DecorationStyle) return false
        if (_underline != other._underline) return false
        if (_overline != other._overline) return false
        if (_lineThrough != other._lineThrough) return false
        if (_gaps != other._gaps) return false
        if (color != other.color) return false
        if (thicknessMultiplier.compareTo(other.thicknessMultiplier) != 0) return false
        return this.lineStyle == other.lineStyle
    }