CmxLayer
Inheritance: java.lang.Object, com.aspose.imaging.fileformats.cmx.objectmodel.CmxContainer
public class CmxLayer extends CmxContainer
The graphic layer located on the page of the CMX document.
Constructors
Constructor | Description |
---|---|
CmxLayer() |
Fields
Field | Description |
---|---|
MASTER_DESKTOP_LAYER_NAME | The master desktop layer name |
Methods
Method | Description |
---|---|
getFlags() | Gets the flags. |
setFlags(long value) | Sets the flags. |
getName() | Gets the name of the layer. |
setName(String value) | Sets the name of the layer. |
getNumber() | Gets the layer order number. |
setNumber(int value) | Sets the layer order number. |
isVisible() | Gets a value indicating whether this layer is visible. |
setVisible(boolean value) | Sets a value indicating whether this layer is visible. |
equals(Object o) | Check if objects are equal. |
hashCode() | Get hash code of the current object. |
CmxLayer()
public CmxLayer()
MASTER_DESKTOP_LAYER_NAME
public static final String MASTER_DESKTOP_LAYER_NAME
The master desktop layer name
getFlags()
public final long getFlags()
Gets the flags.
Returns: long - the flags.
setFlags(long value)
public final void setFlags(long value)
Sets the flags.
Parameters:
Parameter | Type | Description |
---|---|---|
value | long | the flags. |
getName()
public final String getName()
Gets the name of the layer.
Returns: java.lang.String - the name of the layer.
setName(String value)
public final void setName(String value)
Sets the name of the layer.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | the name of the layer. |
getNumber()
public final int getNumber()
Gets the layer order number.
Returns: int - the layer order number.
setNumber(int value)
public final void setNumber(int value)
Sets the layer order number.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the layer order number. |
isVisible()
public final boolean isVisible()
Gets a value indicating whether this layer is visible.
Returns: boolean
setVisible(boolean value)
public final void setVisible(boolean value)
Sets a value indicating whether this layer is visible.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether this layer is visible. |
equals(Object o)
public boolean equals(Object o)
Check if objects are equal.
Parameters:
Parameter | Type | Description |
---|---|---|
o | java.lang.Object | The other object. |
Returns: boolean - The equality comparison result.
hashCode()
public int hashCode()
Get hash code of the current object.
Returns: int - The hash code.