Class Point

java.lang.Object
com.datalogics.PDFL.Point

public class Point extends Object
Represents a discrete point or space in a PDF. A Point in a PDF document is in the right plane, relative to the origin being the lower left corner of the document.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create a new point at the origin (0.0, 0.0).
    Point(double nh, double nv)
    Create a new point at the specified coordinates.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    Distance Transform the Point Object by the values in the Matrix parameter, which is a transformation without any translation.
    boolean
     
    double
    The horizontal coordinate of the point.
    double
    The vertical coordinate of the point.
    void
    setH(double value)
    The horizontal coordinate of the point.
    void
    setV(double value)
    The vertical coordinate of the point.
     
    Transform the Point Object by the values in the Matrix parameter.

    Methods inherited from class java.lang.Object

    getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Point

      public Point()
      Create a new point at the origin (0.0, 0.0).
    • Point

      public Point(double nh, double nv)
      Create a new point at the specified coordinates.
      Parameters:
      nh - the horizontal coordinate
      nv - the vertical coordinate
  • Method Details

    • delete

      public void delete()
    • equals

      public boolean equals(Object rhs)
      Overrides:
      equals in class Object
    • setH

      public void setH(double value)
      The horizontal coordinate of the point.
    • getH

      public double getH()
      The horizontal coordinate of the point.
    • setV

      public void setV(double value)
      The vertical coordinate of the point.
    • getV

      public double getV()
      The vertical coordinate of the point.
    • transform

      public Point transform(Matrix arg0)
      Transform the Point Object by the values in the Matrix parameter.
    • distanceTransform

      public Point distanceTransform(Matrix arg0)
      Distance Transform the Point Object by the values in the Matrix parameter, which is a transformation without any translation.
    • toString

      public String toString()
      Overrides:
      toString in class Object