Package icyllis.modernui.graphics
Class PointF
java.lang.Object
icyllis.modernui.graphics.PointF
Represents a point holding two float values.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
x
public float x -
y
public float y
-
-
Constructor Details
-
PointF
public PointF() -
PointF
public PointF(float x, float y) -
PointF
-
PointF
-
-
Method Details
-
copy
-
set
public void set(float x, float y) -
set
-
set
-
negate
public void negate() -
offset
public void offset(float dx, float dy) -
length
public float length()Return the Euclidean distance from (0,0) to the point -
normalize
public boolean normalize() -
round
-
hashCode
public int hashCode() -
equals
-
toString
-
copy
-