All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jvmMain.org.jetbrains.skiko.ClipComponent.kt Maven / Gradle / Ivy

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()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy