CSS Logo XNACS1Lib Library Documentation
XNACS1Rectangle Constructor (Vector2, Vector2, Single, String)

Game-Themed Introductory Programming Project   

Constructs a rectangle with end points located at aPos and bPos, and width.

public XNACS1Rectangle(
   Vector2 aPos,
   Vector2 bPos,
   Single width,
   String tex
);

Parameters

aPos
End position of rectangle.
bPos
End position of rectangle.
width
Width of rectangle.
tex
texture image to be used to cover the rectangle.

See Also

XNACS1Rectangle Class | XNACS1Lib Namespace | XNACS1Rectangle Constructor Overload List