aPos and bPos are two end positions on the opposite edges of the rectangle. Width is the width of the edge.
public
void SetEndPoints(
Vector2
aPos,
Vector2
bPos,
Single width);
Parameters
-
aPos
- Center of one end position.
-
bPos
- Center of the opposite end position.
-
width
- Width of the rectangle.
See Also
XNACS1Rectangle Class | XNACS1Lib Namespace