|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PointD | |
---|---|
ch.aplu.android | Package of the JDroidLib framework for developing Android applications with a focus on gaming and simulations. |
Uses of PointD in ch.aplu.android |
---|
Methods in ch.aplu.android that return PointD | |
---|---|
PointD |
PointD.clone()
Returns a new PointD with duplicated coordinates. |
PointD |
Actor.getDisplacePosition()
Returns the current displace position. |
PointD |
GGPanel.toUserPoint(android.graphics.Point ptPix)
Transforms pixel coordinates to user coordinates. |
Methods in ch.aplu.android with parameters of type PointD | |
---|---|
void |
GGPanel.arc(PointD center,
double radius,
double startAngle,
double extendAngle,
boolean fill)
Draws an arc with given center, radius in user x-coordinates, start and end angle. |
void |
GGPanel.circle(PointD center,
double radius,
boolean fill)
Draws a circle with given center and given radius in user x-coordinates. |
void |
GGPanel.draw(PointD pt)
Draws a line from current graph position to the given point and sets the graph position to this point. |
void |
GGPanel.line(PointD pt1,
PointD pt2)
Draws a line from the first vertext to the second vertex. |
void |
GGPanel.move(PointD pt)
Sets the current graph position to the given point (without drawin anything). |
void |
GGPanel.point(PointD pt)
Draws a single point at given coordinates. |
void |
GGPanel.polygon(PointD[] vertexes,
boolean fill)
Draws a polygon with given vertexes. |
void |
GGPanel.rectangle(PointD pt1,
PointD pt2,
boolean fill)
Draws a rectangle with given opposite vertexes. |
void |
PointD.set(PointD pt)
Sets the coordinates to coordinates of given PointD. |
void |
Actor.setDisplacePosition(PointD displacePosition)
Sets the current displace position and moves the actor in the cell that contains the given coordinates. |
android.graphics.Point |
GGPanel.toPixelPoint(PointD pt)
Transforms horizontal user coordinates to pixel coordinates. |
void |
GGPanel.triangle(PointD pt1,
PointD pt2,
PointD pt3,
boolean fill)
Draws a triangle with given vertexes. |
Constructors in ch.aplu.android with parameters of type PointD | |
---|---|
GGRectangle(PointD pt0,
PointD pt1,
PointD pt2,
PointD pt3)
Creates a new GGRectangle from given 4 vertex points. |
|
PointD(PointD pt)
Constructs a PointD from given PointD |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |