--- /dev/null
+/**\r
+ * Copyright (C) 2009 - 2012 SC 4ViewSoft SRL\r
+ * \r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ * \r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ * \r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
+package org.achartengine.model;\r
+\r
+import java.io.Serializable;\r
+\r
+/**\r
+ * A class to encapsulate the definition of a point.\r
+ */\r
+public final class Point implements Serializable {\r
+ /** The X axis coordinate value. */\r
+ private float mX;\r
+ /** The Y axis coordinate value. */\r
+ private float mY;\r
+ \r
+ public Point() {\r
+ }\r
+ \r
+ public Point(float x, float y) {\r
+ mX = x;\r
+ mY = y;\r
+ }\r
+ \r
+ public float getX() {\r
+ return mX;\r
+ }\r
+\r
+ public float getY() {\r
+ return mY;\r
+ }\r
+ \r
+ public void setX(float x) {\r
+ mX = x;\r
+ }\r
+ \r
+ public void setY(float y) {\r
+ mY = y;\r
+ }\r
+}\r