Package | Description |
---|---|
Microsoft.Xna.Framework |
Modifier and Type | Field and Description |
---|---|
static Point |
Point.Zero
Returns the point (0,0).
|
Modifier and Type | Method and Description |
---|---|
Point |
Rectangle.Center()
Gets the Point that specifies the center of the rectangle.
|
Point |
Rectangle.getLocation()
Gets the upper-left value of the Rectangle.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Rectangle.Contains(Point value)
Determines whether this Rectangle contains a specified Point.
|
void |
Rectangle.Contains(Point value,
boolean result)
Determines whether this Rectangle contains a specified Point.
|
boolean |
Point.Equals(Point other)
Determines whether two Point instances are equal.
|
void |
Rectangle.Offset(Point amount)
Changes the position of the Rectangle.
|
void |
Rectangle.setLocation(Point newLocation)
Sets the upper-left value of the Rectangle.
|