Layer

Overview

Layer 是一个类在Java的FOSS中.

在PDF文档中表示可选内容组 (层) (ISO 32000-1:2008, §8.11).

本类提供了7种方法,用于在Java程序中使用Layer对象. 有的方法包括: Layer, getContents, getId, getName, getPdfDictionary, setName. 所有公众成员在安装了Java的FOSS包后,可以访问任何 Java应用程序. 特性: contents, id, name, pdfDictionary.

Properties

NameTypeAccessDescription
idStringRead返回层标识符.
nameStringRead返回层名 (/Name).
contentsList<Operator>Read返回此层的内容操作符.
pdfDictionaryPdfDictionaryRead返回底层的 OCG词典.

Methods

SignatureDescription
Layer(id: String, name: String)创造一个新的层.
Layer(ocgDict: PdfDictionary)包装现有的OCG词典.
getId()String返回层标识符.
getName()String返回层名 (/Name).
setName(name: String)设置层名.
getContents()List<Operator>返回此层的内容操作符.
getPdfDictionary()PdfDictionary返回底层的 OCG词典.

See Also

 中文