Class Rect

java.lang.Object
com.artifex.mupdf.fitz.Rect

public class Rect extends Object
  • Field Details

    • x0

      public float x0
    • y0

      public float y0
    • x1

      public float x1
    • y1

      public float y1
    • MIN_INF_RECT

      protected static final int MIN_INF_RECT
      See Also:
    • MAX_INF_RECT

      protected static final int MAX_INF_RECT
      See Also:
  • Constructor Details

    • Rect

      public Rect()
    • Rect

      public Rect(float x0, float y0, float x1, float y1)
    • Rect

      public Rect(Quad q)
    • Rect

      public Rect(Rect r)
    • Rect

      public Rect(RectI r)
  • Method Details

    • adjustForStroke

      public void adjustForStroke(StrokeState state, Matrix ctm)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isInfinite

      public boolean isInfinite()
    • transform

      public Rect transform(Matrix tm)
    • contains

      public boolean contains(float x, float y)
    • contains

      public boolean contains(Point p)
    • contains

      public boolean contains(Rect r)
    • isEmpty

      public boolean isEmpty()
    • isValid

      public boolean isValid()
    • union

      public void union(Rect r)
    • inset

      public void inset(float dx, float dy)
    • inset

      public void inset(float left, float top, float right, float bottom)
    • offset

      public void offset(float dx, float dy)
    • offsetTo

      public void offsetTo(float left, float top)