MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / setXY

Method setXY

src/org/opensourcephysics/media/core/TPoint.java:156–159  ·  view source on GitHub ↗

Sets the x and y positions in imagespace. @param x the x position @param y the y position

(double x, double y)

Source from the content-addressed store, hash-verified

154 * @param y the y position
155 */
156 @Override
157 public void setXY(double x, double y) {
158 setLocation(x, y);
159 }
160
161 /**
162 * Overrides Point2D.Double setLocation method.

Callers 6

setXMethod · 0.95
setYMethod · 0.95
setScreenPositionMethod · 0.95
setWorldPositionMethod · 0.95
attachToMethod · 0.95
translateMethod · 0.95

Calls 1

setLocationMethod · 0.95

Tested by

no test coverage detected