Shape

external interface Shape : JsAny

Inheritors

Functions

Link copied to clipboard
abstract fun contains(pt: Point2D): Boolean
abstract fun contains(x: int, y: int): Boolean
abstract fun contains(x: int, y: int, width: int, height: int): Boolean
Link copied to clipboard
abstract fun getBounds(): Rectangle
Link copied to clipboard
abstract fun getBounds2D(): Rectangle2D
Link copied to clipboard
Link copied to clipboard
abstract fun intersects(rect: Rectangle2D): Boolean
abstract fun intersects(x: double, y: double, w: double, h: double): Boolean