awtMain.org.jetbrains.skiko.ClipComponent.kt Maven / Gradle / Ivy
The newest version!
package org.jetbrains.skiko
import java.awt.Component
class ClipComponent(val component: Component) : ClipRectangle {
override val x: Float
get() = component.x.toFloat()
override val y: Float
get() = component.y.toFloat()
override val width: Float
get() = component.width.toFloat()
override val height: Float
get() = component.height.toFloat()
}