Package com.artifex.solib
Class SOPoint
java.lang.Object
android.graphics.PointF
com.artifex.solib.SOPoint
- All Implemented Interfaces:
android.os.Parcelable
public class SOPoint
extends android.graphics.PointF
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from class android.graphics.PointF
CREATOR, x, yFields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class android.graphics.PointF
describeContents, equals, equals, hashCode, length, length, negate, offset, readFromParcel, set, set, toString, writeToParcel
-
Field Details
-
MoveTo
public static final int MoveTo- See Also:
-
LineTo
public static final int LineTo- See Also:
-
type
public int type
-
-
Constructor Details
-
SOPoint
public SOPoint(int x, int y, int pointType) Allocate an SOPoint at the specified location- Parameters:
x- horizontal position.y- vertical position.pointType- type of point (SOPointType_xxx)
-
SOPoint
public SOPoint(float x, float y, int pointType) Allocate an SOPoint at the specified location- Parameters:
x- horizontal position (float).y- vertical position (float).pointType- type of point (SOPointType_xxx)
-
SOPoint
public SOPoint(android.graphics.PointF position, int pointType) Allocate an SOPoint for the specified location- Parameters:
position- x,y position.pointType- type of point (SOPointType_xxx)
-