CmxObject

Inheritance: java.lang.Object

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

public class CmxObject implements ICmxDocElement

包含有关图形元素信息的对象。

构造函数

构造函数描述
CmxObject()

方法

方法描述
getFillStyle()获取填充样式。
setFillStyle(CmxFillStyle value)设置填充样式。
getOutline()获取轮廓样式。
setOutline(CmxOutline value)设置轮廓样式。
getObjectSpec()获取对象规范。
setObjectSpec(ICmxObjectSpec value)设置对象规范。
toString()返回表示此实例的字符串。
equals(Object o)检查对象是否相等。
hashCode()获取当前对象的哈希码。

CmxObject()

public CmxObject()

getFillStyle()

public final CmxFillStyle getFillStyle()

获取填充样式。

Returns: CmxFillStyle - the fill style.

setFillStyle(CmxFillStyle value)

public final void setFillStyle(CmxFillStyle value)

设置填充样式。

Parameters:

参数类型描述
valueCmxFillStyle填充样式。

getOutline()

public final CmxOutline getOutline()

获取轮廓样式。

Returns: CmxOutline - the outline style.

setOutline(CmxOutline value)

public final void setOutline(CmxOutline value)

设置轮廓样式。

Parameters:

参数类型描述
valueCmxOutline轮廓样式。

getObjectSpec()

public final ICmxObjectSpec getObjectSpec()

获取对象规范。

Returns: ICmxObjectSpec - the object specification.

setObjectSpec(ICmxObjectSpec value)

public final void setObjectSpec(ICmxObjectSpec value)

设置对象规范。

Parameters:

参数类型描述
valueICmxObjectSpec对象规范。

toString()

public String toString()

返回表示此实例的字符串。

Returns: java.lang.String - 表示此实例的字符串。

equals(Object o)

public boolean equals(Object o)

检查对象是否相等。

Parameters:

参数类型描述
ojava.lang.Object其他对象。

Returns: boolean - 相等比较结果。

hashCode()

public int hashCode()

获取当前对象的哈希码。

Returns: int - 哈希码。