## 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 and Description
    --- | ---
    `class` | `PSProcSet` PSResource subclass that represents a ProcSet resource.

    Fields in org.apache.xmlgraphics.ps declared as PSResource
    Modifier and Type | Field and Description
    --- | ---
    `static PSResource` | PSFontUtils.`ADOBECYRILLIC_ENCODING_RESOURCE` the PSResource representing the AdobeStandardCyrillicEncoding.
    `static PSResource` | PSProcSets.`EPS_PROCSET` the EPS procset for the XML Graphics project
    `static PSResource` | PSProcSets.`STD_PROCSET` the standard procset for the XML Graphics project
    `static PSResource` | PSFontUtils.`WINANSI_ENCODING_RESOURCE` the PSResource representing the WinAnsiEncoding.

    Methods in org.apache.xmlgraphics.ps that return PSResource
    Modifier and Type | Method and Description
    --- | ---
    `PSResource` | FormGenerator.`generate(PSGenerator gen)` Generates the PostScript form.
    `PSResource` | PSGenerator.`getIdentityHCMapResource()` Returns the PSResource instance corresponding to the Identity-H CMap resource.
    `PSResource` | PSGenerator.`getProcsetCIDInitResource()` Returns the PSResource instance corresponding to the CIDInit ProcSet resource.
    `static PSResource` | PSImageUtils.`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 use `FormGenerator`
    `protected static PSResource` | PSImageUtils.`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 use `FormGenerator`

    Methods in org.apache.xmlgraphics.ps with parameters of type PSResource
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | PSGenerator.`isResourceSupplied(PSResource res)` Deprecated. Use the isResourceSupplied() on ResourceTracker instead.
    `void` | PSGenerator.`notifyResourceUsage(PSResource res, boolean needed)` Deprecated. Use the notifyResourceUsageOnPage() on ResourceTracker instead
    `static void` | PSImageUtils.`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 void` | PSImageUtils.`paintForm(PSResource form, java.awt.geom.Rectangle2D targetRect, PSGenerator gen)` Deprecated. Please use `PSImageUtils.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 and Description
    --- | ---
    `void` | ResourceTracker.`declareInlined(PSResource res)` This method declares that the given resource will be inlined and can therefore be removed from resource tracking.
    `long` | ResourceTracker.`getUsageCount(PSResource res)` Returns the number of times a resource has been used inside the current DSC document.
    `boolean` | ResourceTracker.`isResourceSupplied(PSResource res)` Indicates whether a particular resource is supplied, rather than needed.
    `void` | ResourceTracker.`notifyResourceUsageOnPage(PSResource res)` Notifies the resource tracker about the usage of a resource on the current page.
    `void` | ResourceTracker.`registerNeededResource(PSResource res)` Registers a needed resource.
    `void` | ResourceTracker.`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 and Description
    --- | ---
    `PSResource` | DSCCommentBeginDocument.`getResource()` Returns the associated PSResource.
    `PSResource` | AbstractResourceDSCComment.`getResource()` Returns the associated PSResource.

    Methods in org.apache.xmlgraphics.ps.dsc.events with parameters of type PSResource
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractResourcesDSCComment.`addResource(PSResource res)` Adds a new resource.

    Constructors in org.apache.xmlgraphics.ps.dsc.events with parameters of type PSResource
    Constructor and Description
    `AbstractResourceDSCComment(PSResource resource)` Creates a new instance for a given PSResource instance
    `DSCCommentBeginDocument(PSResource resource)` Creates a new instance for a given PSResource instance
    `DSCCommentBeginDocument(PSResource resource, java.lang.Float version, java.lang.String type)` Creates a new instance for a given PSResource instance
    `DSCCommentBeginResource(PSResource resource)` Creates a new instance for a given PSResource instance
    `DSCCommentBeginResource(PSResource resource, int min, int max)` Creates a new instance for a given PSResource instance
    `DSCCommentIncludeResource(PSResource resource)` Creates a new instance for a given PSResource instance

Copyright 1999-2022 The Apache Software Foundation. All Rights Reserved.