XNACS1Lib: CSS490 Spring 2011
Constructs a rectangle with end points located at aPos and bPos, and width.

Namespace: XNACS1Lib
Assembly: XNACS1Lib (in XNACS1Lib.dll) Version: 1.0.0.0

Syntax

C#
public XNACS1Rectangle(
	Vector2 aPos,
	Vector2 bPos,
	float width,
	string tex
)

Parameters

aPos
Type: Vector2
End position of rectangle.
bPos
Type: Vector2
End position of rectangle.
width
Type: System..::..Single
Width of rectangle.
tex
Type: System..::..String
texture image to be used to cover the rectangle.

See Also