📄 pdfpatterndictionary.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -