Sha256: 68433741b8a7f2a982ca267061a0d407d10aae29b2209203b9b2cebe7693fccc

Contents?: true

Size: 623 Bytes

Versions: 28

Compression:

Stored size: 623 Bytes

Contents

import com.asunit.controls.shapes.*;

class com.asunit.controls.shapes.Rectangle extends MovieClip {
	private var strokeSize:Number = 0;
	private var bgColor:Number = 0xEEEEEE;
	private var borderColor:Number = 0x666666;
	public var width:Number;
	public var height:Number;
	
	public function Rectangle() {
	}
	
	public function onLoad():Void {
		refreshLayout();
	}
	
	public function refreshLayout():Void {
		clear();
		lineStyle(strokeSize, borderColor, 100);
		beginFill(bgColor, 100);
		moveTo(0, 0);
		lineTo(width, 0);
		lineTo(width, height);
		lineTo(0, height);
		lineTo(0, 0);
	}
	
}

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
asproject-0.1.21 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as
asproject-0.1.28 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as
asproject-0.1.31 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as
asproject-0.1.29 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as
asproject-0.1.30 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as
asproject-0.1.27 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as
asproject-0.1.37 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as
asproject-0.1.33 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as
asproject-0.1.34 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as
asproject-0.1.35 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as
asproject-0.1.36 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as
asproject-0.1.32 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as
asproject-0.1.40 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as
asproject-0.1.44 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as
asproject-0.1.43 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as
asproject-0.1.42 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as
asproject-0.1.38 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as
asproject-0.1.41 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as
asproject-0.1.60 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as
asproject-0.1.68 templates/asproject/asunit2/project/lib/asunit/com/asunit/controls/shapes/Rectangle.as