changeset 35 | 85266cc22c7f |
26:dc7c549001d5 | 35:85266cc22c7f |
---|---|
1 |
|
2 package com.nokia.mj.impl.uitestutils; |
|
3 |
|
4 /** |
|
5 * Class for storing point, i.e. x and y values. |
|
6 * This is used in matric calculations. |
|
7 * |
|
8 * @author ktuokkol |
|
9 */ |
|
10 public class Point { |
|
11 public float x; |
|
12 public float y; |
|
13 |
|
14 /** |
|
15 * Ctor |
|
16 */ |
|
17 public Point() { |
|
18 x = 0f; |
|
19 y = 0f; |
|
20 } |
|
21 |
|
22 /** |
|
23 * Ctor |
|
24 * @param x |
|
25 * @param y |
|
26 */ |
|
27 public Point(float x, float y) { |
|
28 this.x = x; |
|
29 this.y = y; |
|
30 } |
|
31 |
|
32 } |