Class blade.core.screen.ClipRegion

Object
   |
   +--blade.core.screen.ClipRegion

class blade.core.screen.ClipRegion

A rectangular region. Performs checks to keep coordinates within its bounds.

Defined in dragdrop.js

See:


Constructor Summary
blade.core.screen.ClipRegion (upper, lower, x, y)
           
 
Method Summary
 function bound(position1)
           Bounds a position to be within the boundary box
 function check(position)
           Checks whether a coordinate is inside the boundary box
 function setBounds(upper, lower)
           Sets the boundary box

Constructor Detail

blade.core.screen.ClipRegion

function blade.core.screen.ClipRegion(upper, lower, x, y)
Method Detail

bound

function bound(position1)

check

function check(position)

setBounds

function setBounds(upper, lower)