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
Constructor | Description |
---|---|
CmxObject() |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
value | CmxFillStyle | the 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:
Parameter | Type | Description |
---|---|---|
value | CmxOutline | the 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:
Parameter | Type | Description |
---|---|---|
value | ICmxObjectSpec | the 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:
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.