GifBlock
Contents
[
Hide
]Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.imaging.fileformats.gif.IGifBlock
public abstract class GifBlock implements IGifBlock
The default gif block implementation.
Constructors
| Constructor | Description |
|---|---|
| GifBlock() |
Fields
| Field | Description |
|---|---|
| EXTENSION_INTRODUCER | Extension introducer. |
Methods
| Method | Description |
|---|---|
| isChanged() | Gets or sets a value indicating whether block has changed and requires save. |
| setChanged(boolean value) | Gets or sets a value indicating whether block has changed and requires save. |
| save(OutputStream stream) | Saves the block to the specified stream. |
GifBlock()
public GifBlock()
EXTENSION_INTRODUCER
public static final byte EXTENSION_INTRODUCER
Extension introducer.
isChanged()
public boolean isChanged()
Gets or sets a value indicating whether block has changed and requires save.
Value: true if block has changed; otherwise, false.
Returns: boolean
setChanged(boolean value)
public void setChanged(boolean value)
Gets or sets a value indicating whether block has changed and requires save.
Value: true if block has changed; otherwise, false.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
save(OutputStream stream)
public void save(OutputStream stream)
Saves the block to the specified stream.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| stream | java.io.OutputStream | The stream to save data to. |