**Inheritance:**
java.lang.Object

**All Implemented Interfaces:**
[com.aspose.imaging.fileformats.cmx.objectmodel.ICmxDocElement](../../com.aspose.imaging.fileformats.cmx.objectmodel/icmxdocelement)
```
public class CmxObject implements ICmxDocElement
```

Objeto que contiene información sobre el elemento gráfico.
## Constructores

| Constructor | Descripción |
| --- | --- |
| [CmxObject()](#CmxObject--) |  |
## Métodos

| Método | Descripción |
| --- | --- |
| [getFillStyle()](#getFillStyle--) | Obtiene el estilo de relleno. |
| [setFillStyle(CmxFillStyle value)](#setFillStyle-com.aspose.imaging.fileformats.cmx.objectmodel.styles.CmxFillStyle-) | Establece el estilo de relleno. |
| [getOutline()](#getOutline--) | Obtiene el estilo de contorno. |
| [setOutline(CmxOutline value)](#setOutline-com.aspose.imaging.fileformats.cmx.objectmodel.styles.CmxOutline-) | Establece el estilo de contorno. |
| [getObjectSpec()](#getObjectSpec--) | Obtiene la especificación del objeto. |
| [setObjectSpec(ICmxObjectSpec value)](#setObjectSpec-com.aspose.imaging.fileformats.cmx.objectmodel.specs.ICmxObjectSpec-) | Establece la especificación del objeto. |
| [toString()](#toString--) | Devuelve una cadena que representa esta instancia. |
| [equals(Object o)](#equals-java.lang.Object-) | Comprueba si los objetos son iguales. |
| [hashCode()](#hashCode--) | Obtiene el código hash del objeto actual. |
### CmxObject() {#CmxObject--}
```
public CmxObject()
```


### getFillStyle() {#getFillStyle--}
```
public final CmxFillStyle getFillStyle()
```


Obtiene el estilo de relleno.

**Returns:**
[CmxFillStyle](../../com.aspose.imaging.fileformats.cmx.objectmodel.styles/cmxfillstyle) - the fill style.
### setFillStyle(CmxFillStyle value) {#setFillStyle-com.aspose.imaging.fileformats.cmx.objectmodel.styles.CmxFillStyle-}
```
public final void setFillStyle(CmxFillStyle value)
```


Establece el estilo de relleno.

**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| value | [CmxFillStyle](../../com.aspose.imaging.fileformats.cmx.objectmodel.styles/cmxfillstyle) | el estilo de relleno. |

### getOutline() {#getOutline--}
```
public final CmxOutline getOutline()
```


Obtiene el estilo de contorno.

**Returns:**
[CmxOutline](../../com.aspose.imaging.fileformats.cmx.objectmodel.styles/cmxoutline) - the outline style.
### setOutline(CmxOutline value) {#setOutline-com.aspose.imaging.fileformats.cmx.objectmodel.styles.CmxOutline-}
```
public final void setOutline(CmxOutline value)
```


Establece el estilo de contorno.

**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| value | [CmxOutline](../../com.aspose.imaging.fileformats.cmx.objectmodel.styles/cmxoutline) | el estilo de contorno. |

### getObjectSpec() {#getObjectSpec--}
```
public final ICmxObjectSpec getObjectSpec()
```


Obtiene la especificación del objeto.

**Returns:**
[ICmxObjectSpec](../../com.aspose.imaging.fileformats.cmx.objectmodel.specs/icmxobjectspec) - the object specification.
### setObjectSpec(ICmxObjectSpec value) {#setObjectSpec-com.aspose.imaging.fileformats.cmx.objectmodel.specs.ICmxObjectSpec-}
```
public final void setObjectSpec(ICmxObjectSpec value)
```


Establece la especificación del objeto.

**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| value | [ICmxObjectSpec](../../com.aspose.imaging.fileformats.cmx.objectmodel.specs/icmxobjectspec) | la especificación del objeto. |

### toString() {#toString--}
```
public String toString()
```


Devuelve una cadena que representa esta instancia.

**Returns:**
java.lang.String - Una cadena que representa esta instancia.
### equals(Object o) {#equals-java.lang.Object-}
```
public boolean equals(Object o)
```


Comprueba si los objetos son iguales.

**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| o | java.lang.Object | El otro objeto. |

**Returns:**
boolean - El resultado de la comparación de igualdad.
### hashCode() {#hashCode--}
```
public int hashCode()
```


Obtiene el código hash del objeto actual.

**Returns:**
int - El código hash.
