This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-imaging.git
commit 32955de9e2ca68619d87bece475f78e8b49cf764 Author: Gary Gregory <[email protected]> AuthorDate: Sat Jan 3 15:21:55 2026 -0500 Javadoc --- .../imaging/formats/gif/GifImageMetadataItem.java | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/main/java/org/apache/commons/imaging/formats/gif/GifImageMetadataItem.java b/src/main/java/org/apache/commons/imaging/formats/gif/GifImageMetadataItem.java index b0412267..433d999d 100644 --- a/src/main/java/org/apache/commons/imaging/formats/gif/GifImageMetadataItem.java +++ b/src/main/java/org/apache/commons/imaging/formats/gif/GifImageMetadataItem.java @@ -18,6 +18,9 @@ package org.apache.commons.imaging.formats.gif; import org.apache.commons.imaging.common.ImageMetadata; +/** + * Metadata for a single frame in a GIF image. + */ public class GifImageMetadataItem implements ImageMetadata.ImageMetadataItem { private static final String NEWLINE = System.lineSeparator(); private final int delay; @@ -32,18 +35,38 @@ public class GifImageMetadataItem implements ImageMetadata.ImageMetadataItem { this.disposalMethod = disposalMethod; } + /** + * Gets the frame delay in milliseconds. + * + * @return the delay. + */ public int getDelay() { return delay; } + /** + * Gets the disposal method for this frame. + * + * @return the disposal method. + */ public DisposalMethod getDisposalMethod() { return disposalMethod; } + /** + * Gets the left position of the frame. + * + * @return the left position in pixels. + */ public int getLeftPosition() { return leftPosition; } + /** + * Gets the top position of the frame. + * + * @return the top position in pixels. + */ public int getTopPosition() { return topPosition; }
