AiLayerSection

Inheritance: java.lang.Object, com.aspose.psd.DisposableObject, com.aspose.psd.fileformats.ai.AiDataSection

public final class AiLayerSection extends AiDataSection

The Ai format Layer Section

Methods

MethodDescription
addRasterImage(AiRasterImageSection rasterImage)Adds the raster image.
close()Implements the Closable interface and can be used in the try-with-resources statement since JDK 1.7.
create_internalized(StreamContainer stream)
create_internalized(String name, String[] properties, StreamContainer stream)
dispose()Disposes the current instance.
equals(Object arg0)
getBlue()Gets or sets the blue color component.
getClass()
getColorNumber()Gets or sets the color number.
getData()Gets the string data.
getDimValue()Gets or sets the dim value as percentage.
getDisposed()Gets a value indicating whether this instance is disposed.
getGreen()Gets or sets the green color component.
getName()Gets or sets the layer name.
getRasterImages()Gets the raster images.
getRed()Gets or sets the red color component.
getStream_internalized()Gets the inner stream
hashCode()
isImagesDimmed()Gets or sets a value indicating whether this layer is dimmed.
isLocked()Gets or sets a value indicating whether this layer is locked.
isPreview()Gets or sets a value indicating whether this layer is preview.
isPrinted()Gets or sets a value indicating whether this layer is printed.
isShown()Gets or sets a value indicating whether this layer is shown.
isTemplate()Gets or sets a value indicating whether this layer is a template layer.
notify()
notifyAll()
setBlue(int value)Gets or sets the blue color component.
setColorNumber(int value)Gets or sets the color number.
setDimValue(int value)Gets or sets the dim value as percentage.
setGreen(int value)Gets or sets the green color component.
setImagesDimmed(boolean value)Gets or sets a value indicating whether this layer is dimmed.
setLocked(boolean value)Gets or sets a value indicating whether this layer is locked.
setName(String value)Gets or sets the layer name.
setPreview(boolean value)Gets or sets a value indicating whether this layer is preview.
setPrinted(boolean value)Gets or sets a value indicating whether this layer is printed.
setRed(int value)Gets or sets the red color component.
setShown(boolean value)Gets or sets a value indicating whether this layer is shown.
setTemplate(boolean value)Gets or sets a value indicating whether this layer is a template layer.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

addRasterImage(AiRasterImageSection rasterImage)

public final void addRasterImage(AiRasterImageSection rasterImage)

Adds the raster image.

Parameters:

ParameterTypeDescription
rasterImageAiRasterImageSectionThe raster image.

close()

public void close()

Implements the Closable interface and can be used in the try-with-resources statement since JDK 1.7. This method simply call dispose method.

create_internalized(StreamContainer stream)

public static AiDataSection create_internalized(StreamContainer stream)

Parameters:

ParameterTypeDescription
streamStreamContainer

Returns: AiDataSection

create_internalized(String name, String[] properties, StreamContainer stream)

public static AiLayerSection create_internalized(String name, String[] properties, StreamContainer stream)

Parameters:

ParameterTypeDescription
namejava.lang.String
propertiesjava.lang.String[]
streamStreamContainer

Returns: AiLayerSection

dispose()

public final void dispose()

Disposes the current instance.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBlue()

public final int getBlue()

Gets or sets the blue color component.

Value: The blue color component.

Returns: int

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getColorNumber()

public final int getColorNumber()

Gets or sets the color number. -1 is the custom color value from Red, Green, Blue properties. Specifies the layer\u2019s color setting.

Value: The color number.

Returns: int

getData()

public final String getData()

Gets the string data.

Returns: java.lang.String - The string data of section

getDimValue()

public final int getDimValue()

Gets or sets the dim value as percentage. Reduces the intensity of linked images and bitmap images contained in the layer to the specified percentage.

Value: The dim value as percentage.

Returns: int

getDisposed()

public final boolean getDisposed()

Gets a value indicating whether this instance is disposed.

Returns: boolean - true if disposed; otherwise, false .

getGreen()

public final int getGreen()

Gets or sets the green color component.

Value: The green color component.

Returns: int

getName()

public final String getName()

Gets or sets the layer name. Specifies the name of the item as it appears in the Layers panel.

Value: The layer name.

Returns: java.lang.String

getRasterImages()

public final AiRasterImageSection[] getRasterImages()

Gets the raster images.

Value: The raster images.

Returns: com.aspose.psd.fileformats.ai.AiRasterImageSection[]

getRed()

public final int getRed()

Gets or sets the red color component.

Value: The red color component.

Returns: int

getStream_internalized()

public final StreamContainer getStream_internalized()

Gets the inner stream

Returns: StreamContainer - The StreamContainer instance.

hashCode()

public native int hashCode()

Returns: int

isImagesDimmed()

public final boolean isImagesDimmed()

Gets or sets a value indicating whether this layer is dimmed. Reduces the intensity of linked images and bitmap images contained in the layer.

Value: true if this layer is dimmed; otherwise, false .

Returns: boolean

isLocked()

public final boolean isLocked()

Gets or sets a value indicating whether this layer is locked. Prevents changes to the item.

Value: true if this layer is locked; otherwise, false .

Returns: boolean

isPreview()

public final boolean isPreview()

Gets or sets a value indicating whether this layer is preview. Displays the artwork contained in the layer in color instead of as outlines.

Value: true if this layer is preview; otherwise, false .

Returns: boolean

isPrinted()

public final boolean isPrinted()

Gets or sets a value indicating whether this layer is printed. Makes the artwork contained in the layer printable if true.

Value: true if this layer is printed; otherwise, false .

Returns: boolean

isShown()

public final boolean isShown()

Gets or sets a value indicating whether this layer is shown. Displays all artwork contained in the layer on the artboard if true.

Value: true if this layer is shown; otherwise, false .

Returns: boolean

isTemplate()

public final boolean isTemplate()

Gets or sets a value indicating whether this layer is a template layer.

Value: true if this layer is a template; otherwise, false .

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setBlue(int value)

public final void setBlue(int value)

Gets or sets the blue color component.

Value: The blue color component.

Parameters:

ParameterTypeDescription
valueint

setColorNumber(int value)

public final void setColorNumber(int value)

Gets or sets the color number. -1 is the custom color value from Red, Green, Blue properties. Specifies the layer\u2019s color setting.

Value: The color number.

Parameters:

ParameterTypeDescription
valueint

setDimValue(int value)

public final void setDimValue(int value)

Gets or sets the dim value as percentage. Reduces the intensity of linked images and bitmap images contained in the layer to the specified percentage.

Value: The dim value as percentage.

Parameters:

ParameterTypeDescription
valueint

setGreen(int value)

public final void setGreen(int value)

Gets or sets the green color component.

Value: The green color component.

Parameters:

ParameterTypeDescription
valueint

setImagesDimmed(boolean value)

public final void setImagesDimmed(boolean value)

Gets or sets a value indicating whether this layer is dimmed. Reduces the intensity of linked images and bitmap images contained in the layer.

Value: true if this layer is dimmed; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

setLocked(boolean value)

public final void setLocked(boolean value)

Gets or sets a value indicating whether this layer is locked. Prevents changes to the item.

Value: true if this layer is locked; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

setName(String value)

public final void setName(String value)

Gets or sets the layer name. Specifies the name of the item as it appears in the Layers panel.

Value: The layer name.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setPreview(boolean value)

public final void setPreview(boolean value)

Gets or sets a value indicating whether this layer is preview. Displays the artwork contained in the layer in color instead of as outlines.

Value: true if this layer is preview; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

setPrinted(boolean value)

public final void setPrinted(boolean value)

Gets or sets a value indicating whether this layer is printed. Makes the artwork contained in the layer printable if true.

Value: true if this layer is printed; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

setRed(int value)

public final void setRed(int value)

Gets or sets the red color component.

Value: The red color component.

Parameters:

ParameterTypeDescription
valueint

setShown(boolean value)

public final void setShown(boolean value)

Gets or sets a value indicating whether this layer is shown. Displays all artwork contained in the layer on the artboard if true.

Value: true if this layer is shown; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

setTemplate(boolean value)

public final void setTemplate(boolean value)

Gets or sets a value indicating whether this layer is a template layer.

Value: true if this layer is a template; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int