You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2025/10/27 13:01:25 UTC
svn commit: r1929370 - pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color
Author: tilman
Date: Mon Oct 27 13:01:25 2025
New Revision: 1929370
Log:
PDFBOX-6089: deprecate unused
Modified:
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDIndexed.java
Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDIndexed.java
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDIndexed.java Mon Oct 27 13:01:13 2025 (r1929369)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDIndexed.java Mon Oct 27 13:01:25 2025 (r1929370)
@@ -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();
@@ -306,7 +309,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());
@@ -316,7 +322,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);