GifCommentBlock

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.gif.GifBlock

public class GifCommentBlock extends GifBlock

Bloc de commentaire Gif.

Constructeurs

ConstructeurDescription
GifCommentBlock()Initialise une nouvelle instance de la classe GifCommentBlock.
GifCommentBlock(String comment)Initialise une nouvelle instance de la classe GifCommentBlock.

Champs

ChampDescription
EXTENSION_LABELÉtiquette d’extension du bloc de commentaire Gif.
BLOCK_HEADER_SIZEDéfinit la taille de l’en-tête du bloc.

Méthodes

MéthodeDescription
getComment()Obtient ou définit le commentaire.
setComment(String value)Obtient ou définit le commentaire.

GifCommentBlock()

public GifCommentBlock()

Initialise une nouvelle instance de la classe GifCommentBlock.

GifCommentBlock(String comment)

public GifCommentBlock(String comment)

Initialise une nouvelle instance de la classe GifCommentBlock.

Parameters:

ParamètreTypeDescription
commentjava.lang.StringLe commentaire.

EXTENSION_LABEL

public static final byte EXTENSION_LABEL

Étiquette d’extension du bloc de commentaire Gif.

BLOCK_HEADER_SIZE

public static final int BLOCK_HEADER_SIZE

Définit la taille de l’en-tête du bloc.

getComment()

public String getComment()

Obtient ou définit le commentaire. Notez que le commentaire doit utiliser l’encodage ASCII et sera stocké en conséquence.

Valeur : le commentaire.

Returns: java.lang.String

setComment(String value)

public void setComment(String value)

Obtient ou définit le commentaire. Notez que le commentaire doit utiliser l’encodage ASCII et sera stocké en conséquence.

Valeur : le commentaire.

Parameters:

ParamètreTypeDescription
valeurjava.lang.String