Author: tilman
Date: Mon Oct 27 13:01:13 2025
New Revision: 1929369
Log:
PDFBOX-6089: deprecate unused
Modified:
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDIndexed.java
Modified:
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDIndexed.java
==============================================================================
---
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDIndexed.java
Mon Oct 27 13:00:59 2025 (r1929368)
+++
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDIndexed.java
Mon Oct 27 13:01:13 2025 (r1929369)
@@ -57,7 +57,10 @@ public final class PDIndexed extends PDS
/**
* Creates a new Indexed color space.
* Default DeviceRGB, hival 255.
+ *
+ * @deprecated This will be removed in 4.0. If you need it, please contact
us.
*/
+ @Deprecated
public PDIndexed()
{
array = new COSArray();
@@ -308,7 +311,10 @@ public final class PDIndexed extends PDS
/**
* Sets the base color space.
* @param base the base color space
+ *
+ * @deprecated This will be removed in 4.0. If you need it, please contact
us.
*/
+ @Deprecated
public void setBaseColorSpace(PDColorSpace base)
{
array.set(1, base.getCOSObject());
@@ -318,7 +324,10 @@ public final class PDIndexed extends PDS
/**
* Sets the highest value that is allowed. This cannot be higher than 255.
* @param high the highest value for the lookup table
+ *
+ * @deprecated This will be removed in 4.0. If you need it, please contact
us.
*/
+ @Deprecated
public void setHighValue(int high)
{
array.set(2, high);