You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
391 B
29 lines
391 B
11 years ago
|
package mightypork.utils.math.rect;
|
||
|
|
||
|
|
||
|
import mightypork.utils.math.coord.Vec;
|
||
|
|
||
|
|
||
|
public interface RectMutable extends Rect {
|
||
|
|
||
|
/**
|
||
|
* Set to other rect's coordinates
|
||
|
*
|
||
|
* @param rect other rect
|
||
|
*/
|
||
|
void setTo(Rect rect);
|
||
|
|
||
|
|
||
|
void setTo(Vec origin, Vec size);
|
||
|
|
||
|
|
||
|
void setTo(Vec origin, double width, double height);
|
||
|
|
||
|
|
||
|
void setOrigin(Vec origin);
|
||
|
|
||
|
|
||
|
void setSize(Vec size);
|
||
|
|
||
|
}
|