Rect2DX extension

on

Properties

center → Vec2

Available on Rect2D, provided by the Rect2DX extension

no setter

Methods

inflate(double r) → Rect2D

Available on Rect2D, provided by the Rect2DX extension

intersects(Rect2D o) → bool

Available on Rect2D, provided by the Rect2DX extension

translate(Vec2 d) → Rect2D

Available on Rect2D, provided by the Rect2DX extension

Static Methods

union(Rect2D a, Rect2D b) → Rect2D

Available on Rect2D, provided by the Rect2DX extension