public final class PdfRect


Represents a rectangle in PDF coordinates, where pageNum indicates a PDF page, and left, top, right, and bottom indicate a rect in PDF points within the page, with the origin existing at the top left corner of the page.

Summary

Public constructors

PdfRect(int pageNum, @NonNull RectF pageRect)
PdfRect(int pageNum, float left, float top, float right, float bottom)

Public methods

boolean
equals(Object other)
final float
final float
final int
final float
final float
int
@NonNull String

Public constructors

PdfRect

Added in 1.0.0-alpha10
public PdfRect(int pageNum, @NonNull RectF pageRect)

PdfRect

Added in 1.0.0-alpha10
public PdfRect(int pageNum, float left, float top, float right, float bottom)

Public methods

equals

public boolean equals(Object other)

getBottom

Added in 1.0.0-alpha10
public final float getBottom()

getLeft

Added in 1.0.0-alpha10
public final float getLeft()

getPageNum

Added in 1.0.0-alpha10
public final int getPageNum()

getRight

Added in 1.0.0-alpha10
public final float getRight()

getTop

Added in 1.0.0-alpha10
public final float getTop()

hashCode

public int hashCode()

toString

public @NonNull String toString()