| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public float | |
| public Vector | Returns: a new vector scaled by both x and yx and y scale sxy)Returns a new vector scaled by both x and y. |
| public String |
| Vector | back to summary |
|---|---|
| public Vector(float x, float y) | |
| getX | back to summary |
|---|---|
| public float getX() Returns the x magnitude.
| |
| getY | back to summary |
|---|---|
| public float getY() Returns the y magnitude.
| |
| scale | back to summary |
|---|---|
| public Vector scale(float sxy) Returns a new vector scaled by both x and y.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |