root / trunk / libraries / libCq CMS for java.old / src / org / cresques / px / PxPoint.java @ 15
History | View | Annotate | Download (296 Bytes)
1 | 2 | luisw | package org.cresques.px; |
---|---|---|---|
2 | |||
3 | public class PxPoint implements IPoint { |
||
4 | private int px=0, py=0; |
||
5 | public PxPoint(int x, int y) { this.px = x; this.py = y; } |
||
6 | public int x() {return px;} |
||
7 | public int x(int x) {px = x; return px;} |
||
8 | public int y() {return py;} |
||
9 | public int y(int y) {py = y; return py;} |
||
10 | } |