GifCommentBlock
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.imaging.fileformats.gif.GifBlock
public class GifCommentBlock extends GifBlock
Gif comment block.
Constructors
Constructor | Description |
---|---|
GifCommentBlock() | Initializes a new instance of the GifCommentBlock class. |
GifCommentBlock(String comment) | Initializes a new instance of the GifCommentBlock class. |
Fields
Field | Description |
---|---|
EXTENSION_LABEL | Gif comment block extension label. |
BLOCK_HEADER_SIZE | Defines the block header size. |
Methods
Method | Description |
---|---|
getComment() | Gets or sets the comment. |
setComment(String value) | Gets or sets the comment. |
GifCommentBlock()
public GifCommentBlock()
Initializes a new instance of the GifCommentBlock
class.
GifCommentBlock(String comment)
public GifCommentBlock(String comment)
Initializes a new instance of the GifCommentBlock
class.
Parameters:
Parameter | Type | Description |
---|---|---|
comment | java.lang.String | The comment. |
EXTENSION_LABEL
public static final byte EXTENSION_LABEL
Gif comment block extension label.
BLOCK_HEADER_SIZE
public static final int BLOCK_HEADER_SIZE
Defines the block header size.
getComment()
public String getComment()
Gets or sets the comment. Note that comment must use ASCII encoding and will be stored accordingly.
Value: The comment.
Returns: java.lang.String
setComment(String value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |