Uses of Class
org.apache.xmlgraphics.ps.PSResource
-
Packages that use PSResource Package Description org.apache.xmlgraphics.ps Classes for the creation of PostScript files.org.apache.xmlgraphics.ps.dsc Tools for DSC-compliant PostScript files (DSC = Document Structuring Conventions).org.apache.xmlgraphics.ps.dsc.events Event classes used by the DSC parser. -
-
Uses of PSResource in org.apache.xmlgraphics.ps
Subclasses of PSResource in org.apache.xmlgraphics.ps Modifier and Type Class Description classPSProcSetPSResource subclass that represents a ProcSet resource.Fields in org.apache.xmlgraphics.ps declared as PSResource Modifier and Type Field Description static PSResourcePSFontUtils. ADOBECYRILLIC_ENCODING_RESOURCEthe PSResource representing the AdobeStandardCyrillicEncoding.static PSResourcePSProcSets. EPS_PROCSETthe EPS procset for the XML Graphics projectstatic PSResourcePSProcSets. STD_PROCSETthe standard procset for the XML Graphics projectstatic PSResourcePSFontUtils. WINANSI_ENCODING_RESOURCEthe PSResource representing the WinAnsiEncoding.Methods in org.apache.xmlgraphics.ps that return PSResource Modifier and Type Method Description PSResourceFormGenerator. generate(PSGenerator gen)Generates the PostScript form.PSResourcePSGenerator. getIdentityHCMapResource()Returns the PSResource instance corresponding to the Identity-H CMap resource.PSResourcePSGenerator. getProcsetCIDInitResource()Returns the PSResource instance corresponding to the CIDInit ProcSet resource.static PSResourcePSImageUtils. writeReusableImage(byte[] img, java.awt.Dimension imgDim, java.lang.String formName, java.lang.String imageDescription, boolean isJPEG, java.awt.color.ColorSpace colorSpace, PSGenerator gen)Deprecated.Please useFormGeneratorprotected static PSResourcePSImageUtils. writeReusableImage(ImageEncoder encoder, java.awt.Dimension imgDim, java.lang.String formName, java.lang.String imageDescription, java.awt.color.ColorSpace colorSpace, boolean invertImage, PSGenerator gen)Deprecated.Please useFormGeneratorMethods in org.apache.xmlgraphics.ps with parameters of type PSResource Modifier and Type Method Description booleanPSGenerator. isResourceSupplied(PSResource res)Deprecated.Use the isResourceSupplied() on ResourceTracker instead.voidPSGenerator. notifyResourceUsage(PSResource res, boolean needed)Deprecated.Use the notifyResourceUsageOnPage() on ResourceTracker insteadstatic voidPSImageUtils. paintForm(PSResource form, java.awt.geom.Dimension2D formDimensions, java.awt.geom.Rectangle2D targetRect, PSGenerator gen)Paints a reusable image (previously added as a PostScript form).static voidPSImageUtils. paintForm(PSResource form, java.awt.geom.Rectangle2D targetRect, PSGenerator gen)Deprecated.Please usePSImageUtils.paintForm(PSResource, Dimension2D, Rectangle2D, PSGenerator)instead. -
Uses of PSResource in org.apache.xmlgraphics.ps.dsc
Methods in org.apache.xmlgraphics.ps.dsc with parameters of type PSResource Modifier and Type Method Description voidResourceTracker. declareInlined(PSResource res)This method declares that the given resource will be inlined and can therefore be removed from resource tracking.longResourceTracker. getUsageCount(PSResource res)Returns the number of times a resource has been used inside the current DSC document.booleanResourceTracker. isResourceSupplied(PSResource res)Indicates whether a particular resource is supplied, rather than needed.voidResourceTracker. notifyResourceUsageOnPage(PSResource res)Notifies the resource tracker about the usage of a resource on the current page.voidResourceTracker. registerNeededResource(PSResource res)Registers a needed resource.voidResourceTracker. registerSuppliedResource(PSResource res)Registers a supplied resource. -
Uses of PSResource in org.apache.xmlgraphics.ps.dsc.events
Methods in org.apache.xmlgraphics.ps.dsc.events that return PSResource Modifier and Type Method Description PSResourceAbstractResourceDSCComment. getResource()Returns the associated PSResource.PSResourceDSCCommentBeginDocument. getResource()Returns the associated PSResource.Methods in org.apache.xmlgraphics.ps.dsc.events with parameters of type PSResource Modifier and Type Method Description voidAbstractResourcesDSCComment. addResource(PSResource res)Adds a new resource.Constructors in org.apache.xmlgraphics.ps.dsc.events with parameters of type PSResource Constructor Description AbstractResourceDSCComment(PSResource resource)Creates a new instance for a given PSResource instanceDSCCommentBeginDocument(PSResource resource)Creates a new instance for a given PSResource instanceDSCCommentBeginDocument(PSResource resource, java.lang.Float version, java.lang.String type)Creates a new instance for a given PSResource instanceDSCCommentBeginResource(PSResource resource)Creates a new instance for a given PSResource instanceDSCCommentBeginResource(PSResource resource, int min, int max)Creates a new instance for a given PSResource instanceDSCCommentIncludeResource(PSResource resource)Creates a new instance for a given PSResource instance
-