RoundedRect

class RoundedRect(pointer: CPointer<GskRoundedRect>)

kotlinx-gtk

09 / 08 / 2021

See also

Constructors

RoundedRect
Link copied to clipboard
fun RoundedRect(bounds: Rect, topLeft: Size, topRight: Size, bottomLeft: Size, bottomRight: Size)
RoundedRect
Link copied to clipboard
fun RoundedRect(src: RoundedRect)
RoundedRect
Link copied to clipboard
fun RoundedRect(bounds: Rect, radius: Float)
RoundedRect
Link copied to clipboard
fun RoundedRect(pointer: CPointer<GskRoundedRect>)

Types

Companion
Link copied to clipboard
object Companion

Functions

containsPoint
Link copied to clipboard
fun containsPoint(point: Point): Boolean
containsRect
Link copied to clipboard
fun containsRect(rect: Rect): Boolean
intersectsRect
Link copied to clipboard
fun intersectsRect(rect: Rect): Boolean
normalize
Link copied to clipboard
fun normalize(): RoundedRect
offset
Link copied to clipboard
fun offset(dx: Float, dy: Float): RoundedRect
shrink
Link copied to clipboard
fun shrink(top: Float, bottom: Float, right: Float, left: Float): RoundedRect

Properties

isRectilinear
Link copied to clipboard
val isRectilinear: Boolean
pointer
Link copied to clipboard
val pointer: CPointer<GskRoundedRect>