Class sandy.util.Rectangle

Description

Rectangle

wrapper to MM Flash8 Rectangle class. Useful to store area dimension, and having our class allows to export in player 6 and 7 easily

Field Index

height, width, x, y

Constructor Detail

Rectangle

public function Rectangle(px:Number, py:Number, pwidth:Number, pheight:Number)

Constructor of the Rectangle class default values are 0 as width, height, and corner position.

Field Detail

x

public x:Number

y

public y:Number
y Number Position of the top left corner of the Rectangle vertically

width

public width:Number
width Number Width of the Rectangle

height

public height:Number
height Number Width of the Rectangle