GifCommentBlock
Contenu
[
Cacher
]Inheritance: java.lang.Object, com.aspose.imaging.fileformats.gif.GifBlock
public class GifCommentBlock extends GifBlock
Bloc de commentaire Gif.
Constructeurs
| Constructeur | Description |
|---|---|
| GifCommentBlock() | Initialise une nouvelle instance de la classe GifCommentBlock. |
| GifCommentBlock(String comment) | Initialise une nouvelle instance de la classe GifCommentBlock. |
Champs
| Champ | Description |
|---|---|
| EXTENSION_LABEL | Étiquette d’extension du bloc de commentaire Gif. |
| BLOCK_HEADER_SIZE | Définit la taille de l’en-tête du bloc. |
Méthodes
| Méthode | Description |
|---|---|
| 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ètre | Type | Description |
|---|---|---|
| comment | java.lang.String | Le 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ètre | Type | Description |
|---|---|---|
| valeur | java.lang.String |