public interface Line
Modifier and Type | Method and Description |
---|---|
double |
getX1()
Get the x1 location.
|
double |
getX2()
Get the x2 location.
|
double |
getY1()
Get the y1 location.
|
double |
getY2()
Get the y2 location.
|
void |
set(double x1,
double y1,
double x2,
double y2)
Set the line coordinates.
|
void set(double x1, double y1, double x2, double y2)
x1
- The x coordinate of the start pointy1
- The y coordinate of the start pointx2
- The x coordinate of the end pointy2
- The y coordinate of the end pointdouble getX1()
double getX2()
double getY1()
double getY2()
Copyright © 2016 Byron 3D Games Studio. All rights reserved.