equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 package com.nokia.mj.impl.uitestutils; |
|
19 |
|
20 /** |
|
21 * Class for storing point, i.e. x and y values. |
|
22 * This is used in matric calculations. |
|
23 * |
|
24 * @author ktuokkol |
|
25 */ |
|
26 public class Point { |
|
27 public float x; |
|
28 public float y; |
|
29 |
|
30 /** |
|
31 * Ctor |
|
32 */ |
|
33 public Point() { |
|
34 x = 0f; |
|
35 y = 0f; |
|
36 } |
|
37 |
|
38 /** |
|
39 * Ctor |
|
40 * @param x |
|
41 * @param y |
|
42 */ |
|
43 public Point(float x, float y) { |
|
44 this.x = x; |
|
45 this.y = y; |
|
46 } |
|
47 |
|
48 } |