diff options
Diffstat (limited to 'libjava/javax/imageio/IIOParam.java')
-rw-r--r-- | libjava/javax/imageio/IIOParam.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libjava/javax/imageio/IIOParam.java b/libjava/javax/imageio/IIOParam.java index bbab1cf79f6..1a59123995f 100644 --- a/libjava/javax/imageio/IIOParam.java +++ b/libjava/javax/imageio/IIOParam.java @@ -141,6 +141,11 @@ public abstract class IIOParam this.destinationOffset = destinationOffset; } + public void setSourceBands(int[] sourceBands) + { + this.sourceBands = sourceBands; + } + public void setSourceRegion(Rectangle sourceRegion) { if (sourceRegion != null @@ -154,4 +159,13 @@ public abstract class IIOParam this.sourceRegion = sourceRegion; } + + public void setSourceSubsampling(int sourceXSubsampling, int sourceYSubsampling, + int subsamplingXOffset, int subsamplingYOffset) + { + this.sourceXSubsampling = sourceXSubsampling; + this.sourceYSubsampling = sourceYSubsampling; + this.subsamplingXOffset = subsamplingXOffset; + this.subsamplingYOffset = subsamplingYOffset; + } } |