Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Square.as « actionscript « open-flash-chart « libs - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 171e5045d033b11edbcb76176c8b62dab2fb504e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class Square
{
	public var top:Number=0;
	public var left:Number=0;
	public var right:Number=0;
	public var bottom:Number=0;
	public var width:Number=0;
	public var height:Number=0;

	public function Square( left:Number, top:Number, right:Number, bottom:Number )
	{
		this.top = top;
		this.left = left;
		this.right = right;
		this.bottom = bottom;
		this.width = right-left;
		this.height = bottom-top;
	}
}