protected class

TileBoard.Area

extends java.lang.Object

 java.lang.Object

↳androidx.pdf.util.TileBoard.Area

Overview

Describes an area (sub-rectangle) of a tiling. All 4 bounds are included: the area is equal to [TileBoard.Area.mLeft, TileBoard.Area.mRight] x [TileBoard.Area.mTop, TileBoard.Area.mBottom]. Areas are immutable.

Summary

Constructors
protectedArea(int left, int top, int right, int bottom)

Methods
public booleanequals(java.lang.Object o)

public static TileBoard.AreaexpandFromArea(Rect areaPx, int numCols, int numRows)

Create a tiling TileBoard.Area covering the given area (in pixels) and overflowing at least half a tile in each direction if possible.

public inthashCode()

public intsize()

public java.lang.StringtoString()

from java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait

Constructors

protected Area(int left, int top, int right, int bottom)

Methods

public static TileBoard.Area expandFromArea(Rect areaPx, int numCols, int numRows)

Create a tiling TileBoard.Area covering the given area (in pixels) and overflowing at least half a tile in each direction if possible.

public int size()

public boolean equals(java.lang.Object o)

public int hashCode()

public java.lang.String toString()