CmxObject

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.imaging.fileformats.cmx.objectmodel.ICmxDocElement

public class CmxObject implements ICmxDocElement

Object containing information about the graphic element.

Constructors

ConstructorDescription
CmxObject()

Methods

MethodDescription
getFillStyle()Gets the fill style.
setFillStyle(CmxFillStyle value)Sets the fill style.
getOutline()Gets the outline style.
setOutline(CmxOutline value)Sets the outline style.
getObjectSpec()Gets the object specification.
setObjectSpec(ICmxObjectSpec value)Sets the object specification.
toString()Returns a String that represents this instance.
equals(Object o)Check if objects are equal.
hashCode()Get hash code of the current object.

CmxObject()

public CmxObject()

getFillStyle()

public final CmxFillStyle getFillStyle()

Gets the fill style.

Returns: CmxFillStyle - the fill style.

setFillStyle(CmxFillStyle value)

public final void setFillStyle(CmxFillStyle value)

Sets the fill style.

Parameters:

ParameterTypeDescription
valueCmxFillStylethe fill style.

getOutline()

public final CmxOutline getOutline()

Gets the outline style.

Returns: CmxOutline - the outline style.

setOutline(CmxOutline value)

public final void setOutline(CmxOutline value)

Sets the outline style.

Parameters:

ParameterTypeDescription
valueCmxOutlinethe outline style.

getObjectSpec()

public final ICmxObjectSpec getObjectSpec()

Gets the object specification.

Returns: ICmxObjectSpec - the object specification.

setObjectSpec(ICmxObjectSpec value)

public final void setObjectSpec(ICmxObjectSpec value)

Sets the object specification.

Parameters:

ParameterTypeDescription
valueICmxObjectSpecthe object specification.

toString()

public String toString()

Returns a String that represents this instance.

Returns: java.lang.String - A String that represents this instance.

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.