## Uses of Class
org.apache.xmlgraphics.image.loader.util.Penalty

- Packages that use Penalty
  Package | Description
  --- | ---
  org.apache.xmlgraphics.image.loader.pipeline | Provides an image loading and processing pipeline.
  org.apache.xmlgraphics.image.loader.spi | Defines service provider interfaces for the image infrastructure.
  org.apache.xmlgraphics.image.loader.util | Contains utilities and helper classes useful in conjunction with the image package.

- - ### Uses of Penalty in org.apache.xmlgraphics.image.loader.pipeline

    Methods in org.apache.xmlgraphics.image.loader.pipeline that return Penalty
    Modifier and Type | Method and Description
    --- | ---
    `Penalty` | ImageProviderPipeline.`getConversionPenalty(ImageImplRegistry registry)` Returns the overall conversion penalty for the pipeline.

  - ### Uses of Penalty in org.apache.xmlgraphics.image.loader.spi

    Methods in org.apache.xmlgraphics.image.loader.spi that return Penalty
    Modifier and Type | Method and Description
    --- | ---
    `Penalty` | ImageImplRegistry.`getAdditionalPenalty(java.lang.String className)` Returns the additional penalty value set for a particular implementation class.

    Methods in org.apache.xmlgraphics.image.loader.spi with parameters of type Penalty
    Modifier and Type | Method and Description
    --- | ---
    `void` | ImageImplRegistry.`setAdditionalPenalty(java.lang.String className, Penalty penalty)` Sets an additional penalty for a particular implementation class for any of the interface administered by this registry class.

  - ### Uses of Penalty in org.apache.xmlgraphics.image.loader.util

    Fields in org.apache.xmlgraphics.image.loader.util declared as Penalty
    Modifier and Type | Field and Description
    --- | ---
    `static Penalty` | Penalty.`INFINITE_PENALTY`
    `static Penalty` | Penalty.`ZERO_PENALTY`

    Methods in org.apache.xmlgraphics.image.loader.util that return Penalty
    Modifier and Type | Method and Description
    --- | ---
    `Penalty` | Penalty.`add(int value)` Adds a penalty to this one and returns the combined penalty.
    `Penalty` | Penalty.`add(Penalty value)` Adds a penalty to this one and returns the combined penalty.
    `static Penalty` | Penalty.`toPenalty(int value)` Turns a penalty value into a penaly object.

    Methods in org.apache.xmlgraphics.image.loader.util with parameters of type Penalty
    Modifier and Type | Method and Description
    --- | ---
    `Penalty` | Penalty.`add(Penalty value)` Adds a penalty to this one and returns the combined penalty.

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