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
Method | Description |
---|---|
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() | |
getColorIndex() | Gets or sets the index of the color. |
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 |
hasMultiLayerMasks() | Gets or sets a value indicating whether this instance has multilayer masks. |
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. |
setColorIndex(int value) | Gets or sets the index of the color. |
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. |
setMultiLayerMasks(boolean value) | Gets or sets a value indicating whether this instance has multilayer masks. |
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:
Parameter | Type | Description |
---|---|---|
rasterImage | AiRasterImageSection | The 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:
Parameter | Type | Description |
---|---|---|
stream | StreamContainer |
Returns: AiDataSection
create_internalized(String name, String[] properties, StreamContainer stream)
public static AiLayerSection create_internalized(String name, String[] properties, StreamContainer stream)
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | |
properties | java.lang.String[] | |
stream | StreamContainer |
Returns: AiLayerSection
dispose()
public final void dispose()
Disposes the current instance.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.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
getColorIndex()
public final int getColorIndex()
Gets or sets the index of the color. This argument can take on values between \u20131 and 26. Each integer represents a color that can be assigned to the layer for user identification purposes.
Value: The index of the color.
Returns: int
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.
hasMultiLayerMasks()
public final boolean hasMultiLayerMasks()
Gets or sets a value indicating whether this instance has multilayer masks.
Value: true if this instance has multilayer masks; otherwise, false .
Returns: boolean
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:
Parameter | Type | Description |
---|---|---|
value | int |
setColorIndex(int value)
public final void setColorIndex(int value)
Gets or sets the index of the color. This argument can take on values between \u20131 and 26. Each integer represents a color that can be assigned to the layer for user identification purposes.
Value: The index of the color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
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:
Parameter | Type | Description |
---|---|---|
value | int |
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:
Parameter | Type | Description |
---|---|---|
value | int |
setGreen(int value)
public final void setGreen(int value)
Gets or sets the green color component.
Value: The green color component.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
setMultiLayerMasks(boolean value)
public final void setMultiLayerMasks(boolean value)
Gets or sets a value indicating whether this instance has multilayer masks.
Value: true if this instance has multilayer masks; otherwise, false .
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
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:
Parameter | Type | Description |
---|---|---|
value | java.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:
Parameter | Type | Description |
---|---|---|
value | boolean |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
setRed(int value)
public final void setRed(int value)
Gets or sets the red color component.
Value: The red color component.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |