TransparencyIndexResource

Inheritance: java.lang.Object, ResourceBlock

The transparency index resource block.

Constructors

ConstructorDescription
TransparencyIndexResource()Initializes a new instance of the TransparencyIndexResource class.

Methods

MethodDescription
getDataSize()Gets the resource data size in bytes.
getMinimalVersion()Gets the minimal required psd version.
getTransparencyIndex()Gets or sets the transparency color index.
setTransparencyIndex(short value)Gets or sets the transparency color index.

TransparencyIndexResource()

public TransparencyIndexResource()

Initializes a new instance of the TransparencyIndexResource class.

getDataSize()

public int getDataSize()

Gets the resource data size in bytes.

Returns: int - The resource data size.

getMinimalVersion()

public int getMinimalVersion()

Gets the minimal required psd version.

Returns: int - The minimal psd version.

getTransparencyIndex()

public short getTransparencyIndex()

Gets or sets the transparency color index.

Returns: short - The transparency color index.

setTransparencyIndex(short value)

public void setTransparencyIndex(short value)

Gets or sets the transparency color index.

Parameters:

ParameterTypeDescription
valueshortThe transparency color index.