| 构造器 | 说明 |
|---|---|
Builder(int width,
int height,
int number) |
Default constructor used to create a
Builder instance. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
PdfGenerator.PageInfo |
create() |
Creates a
PageInfo object based on the information of the current page. |
PdfGenerator.PageInfo.Builder |
setRect(Rect contentRect) |
Sets the content rectangle based on the given rectangle.
|
public Builder(int width,
int height,
int number)
Builder instance.width - Indicates the page width, in pixels.height - Indicates the page height, in pixels.number - Indicates the page number.public PdfGenerator.PageInfo create()
PageInfo object based on the information of the current page.PageInfo object.public PdfGenerator.PageInfo.Builder setRect(Rect contentRect)
contentRect - Indicates the given rectangle.Builder object.