Method | Description | |
---|---|---|
Position ( Rect source ) |
Creates a rect instance from the given parameters
|
|
Position ( Single x, Single y, Single width, Single height ) |
Creates a rect instance from the given parameters
|
|
Position ( Vector2 position, Vector2 size ) |
Creates a rect instance from the given parameters
|
public Position ( Single x, Single y, Single width, Single height ) | ||
x | Single | |
y | Single | |
width | Single | |
height | Single |
public Position ( Vector2 position, Vector2 size ) | ||
position | Vector2 | |
size | Vector2 |