-->

StayInWindow

If you prefer a more technical reference, visit the NextText Javadoc.

Name

StayInWindow

Description

Keep objects inside a window. By default, StayInWindow bounces objects off the edge of the visible window. It can be configured to change the window size and object behaviour.

Usage

Run applet | Download

TEST

Constructor

new StayInWindow(processing.core.PApplet p)

new StayInWindow(processing.core.PApplet p, boolean bounce)

new StayInWindow(java.awt.Rectangle bounds, boolean bounce)

Parameters

p :

bounce :

bounds :

to :

window :

Methods

behave(TextObject to)

setWindow(java.awt.Rectangle window)

Related

TEST

2006 - 2008 © Obx Labs/Jason Lewis

CC-GNU GPL
This software is licensed under the CC-GNU GPL.