pdfpatterndictionary.java
来自「一个java操作pdf文件的开发包,很好用的.」· Java 代码 · 共 58 行
JAVA
58 行
package com.lowagie.text.pdf;/** * $Id: PdfPatternDictionary.java,v 1.4 2002/07/09 11:28:24 blowagie Exp $ * <CODE>PdfPatternDictionary</CODE> is a <CODE>PdfResource</CODE>, containing a dictionary of <CODE>PdfSpotPattern</CODE>s. * at the moment * * @see PdfResource * @see PdfResources */class PdfPatternDictionary extends PdfDictionary implements PdfResource { // constructors/** * Constructs a new <CODE>PdfPatternDictionary</CODE>. */ PdfPatternDictionary() { super(); } // methods/** * Returns the name of a resource. * * @return a <CODE>PdfName</CODE>. */ public PdfName key() { return PdfName.PATTERN; }/** * Returns the object that represents the resource. * * @return a <CODE>PdfObject</CODE> */ public PdfObject value() { return this; }/** * Checks if the <CODE>PdfPatternDictionary</CODE> contains at least * one object. * * @return <CODE>true</CODE> if an object was found * <CODE>false</CODE> otherwise */ boolean containsPattern() { return hashMap.size() > 0; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?