XForm
XForm
Overview
XForm 是一个类在Java的FOSS中.
表示表格XObject (ISO 32000-1:2008,第8.10条).
本类提供了8种方法,用于在Java程序中使用XForm对象. 有的方法包括: XForm, getBBox, getContents, getMatrix, getName, getPdfStream, getResources, setContents. 所有公众成员在安装了Java的FOSS包后,可以访问任何 Java应用程序. 特性: bBox, contents, matrix, name, pdfStream, resources.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | String | Read | 返回此表格的资源名称 XObject. |
bBox | Rectangle | Read | 返回表格XObject的边界框 (/BBox). |
matrix | Matrix | Read | 返回变换矩阵 (/矩陣). |
resources | Resources | Read | 返回表单的/资源词典. |
contents | OperatorCollection | Read | 将表单XObject的内容流解析为运算符. |
pdfStream | PdfStream | Read | 返回底层的PDF流. |
Methods
| Signature | Description |
|---|---|
XForm(stream: PdfStream, name: String, parser: PDFParser) | 从表格XObject流中创建一个XForm. |
getName() → String | 返回此表格的资源名称 XObject. |
getBBox() → Rectangle | 返回表格XObject的边界框 (/BBox). |
getMatrix() → Matrix | 返回变换矩阵 (/矩陣). |
getResources() → Resources | 返回表单的/资源词典. |
getContents() → OperatorCollection | 将表单XObject的内容流解析为运算符. |
setContents(contents: OperatorCollection) | 取代这个表格XObject的内容流以{@code contents} 的序列形式. |
getPdfStream() → PdfStream | 返回底层的PDF流. |