Back to project page AndroidGraph.
The source code is released under:
MIT License
If you think the Android project AndroidGraph listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.nimble.android_graph.Graph_Base; //w w w . j a v a2 s. co m /** * Class for a simple two dimensional point. * x = min, y = max * Created by Michael Leith on 18/07/2014. */ public class Point extends Coord2d<Float>{ public int radius; public float graphSpaceX, graphSpaceY; /** * Sets radius to 5 and sets graphSpace variables * @param x x coord * @param y y coord */ public Point(float x, float y) { super(x, y); this.graphSpaceX = x; this.graphSpaceY = 0; radius = 2; } /** * */ public Point() { super(0f, 0f); radius = 5; } }