struct

Lipgloss::Rectangle

Inherits Struct < Value < Object

Constructors

from_uv(rect : Ultraviolet::Rectangle) : Rectangle
from_xywh(x : Int32, y : Int32, width : Int32, height : Int32) : Rectangle
new(min : Point, max : Point)
zero

Instance methods

contains?(x : Int32, y : Int32) : Bool
dx
dy
height
max
min
overlaps?(other : Rectangle) : Bool
to_uv
union(other : Rectangle) : Rectangle
width