GifBlock

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

ConstructorDescription
GifBlock()

Fields

FieldDescription
EXTENSION_INTRODUCERExtension introducer.

Methods

MethodDescription
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:

ParameterTypeDescription
valueboolean

save(OutputStream stream)

public void save(OutputStream stream)

Saves the block to the specified stream.

Parameters:

ParameterTypeDescription
streamjava.io.OutputStreamThe stream to save data to.