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

ConstructorDescription
CmxLayer()

Fields

FieldDescription
MASTER_DESKTOP_LAYER_NAMEThe master desktop layer name

Methods

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

ParameterTypeDescription
valuelongthe 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:

ParameterTypeDescription
valuejava.lang.Stringthe 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:

ParameterTypeDescription
valueintthe 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:

ParameterTypeDescription
valuebooleana value indicating whether this layer is visible.

equals(Object o)

public boolean equals(Object o)

Check if objects are equal.

Parameters:

ParameterTypeDescription
ojava.lang.ObjectThe other object.

Returns: boolean - The equality comparison result.

hashCode()

public int hashCode()

Get hash code of the current object.

Returns: int - The hash code.