Packages

 

com.aspose.imaging.fileformats.gif.blocks

Class GifCommentBlock

  • All Implemented Interfaces:
    IGifBlock


    public class GifCommentBlock
    extends GifBlock

    Gif comment block.

    • Field Detail

      • EXTENSION_LABEL

        public static final byte EXTENSION_LABEL

        Gif comment block extension label.

        See Also:
        Constant Field Values
      • BLOCK_HEADER_SIZE

        public static final int BLOCK_HEADER_SIZE

        Defines the block header size.

        See Also:
        Constant Field Values
    • Constructor Detail

      • GifCommentBlock

        public GifCommentBlock()

        Initializes a new instance of the GifCommentBlock class.

      • GifCommentBlock

        public GifCommentBlock(String comment)

        Initializes a new instance of the GifCommentBlock class.

        Parameters:
        comment - The comment.
    • Method Detail

      • getComment

        public String getComment()

        Gets or sets the comment. Note that comment must use ASCII encoding and will be stored accordingly.

        Value: The comment.
      • setComment

        public void setComment(String value)

        Gets or sets the comment. Note that comment must use ASCII encoding and will be stored accordingly.

        Value: The comment.