Skip to content

DotRectangle

Overview

A 2D rectangle-shaped bounded area, with a convenience name and constructor. Totally functionally equivalent to Bounds2, but with a different constructor.

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class DotRectangle

import { DotRectangle } from 'scenerystack/dot';

Constructor

new DotRectangle( x, y, width, height )

Instance Methods

Source Code

See the source for Rectangle.js in the dot repository.