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

    Nested classes/interfaces inherited from interface android.os.Parcelable

    android.os.Parcelable.ClassLoaderCreator<T extends Object>, android.os.Parcelable.Creator<T extends Object>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    int
     

    Fields inherited from class android.graphics.PointF

    CREATOR, x, y

    Fields inherited from interface android.os.Parcelable

    CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
  • Constructor Summary

    Constructors
    Constructor
    Description
    SOPoint(float x, float y, int pointType)
    Allocate an SOPoint at the specified location
    SOPoint(int x, int y, int pointType)
    Allocate an SOPoint at the specified location
    SOPoint(android.graphics.PointF position, int pointType)
    Allocate an SOPoint for the specified location
  • Method Summary

    Methods inherited from class android.graphics.PointF

    describeContents, equals, equals, hashCode, length, length, negate, offset, readFromParcel, set, set, toString, writeToParcel

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • 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)