**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
```

Objekt som innehåller information om det grafiska elementet.
## Konstruktörer

| Konstruktor | Beskrivning |
| --- | --- |
| [CmxObject()](#CmxObject--) |  |
## Metoder

| Metod | Beskrivning |
| --- | --- |
| [getFillStyle()](#getFillStyle--) | Hämtar fyllningsstilen. |
| [setFillStyle(CmxFillStyle value)](#setFillStyle-com.aspose.imaging.fileformats.cmx.objectmodel.styles.CmxFillStyle-) | Ställer in fyllningsstilen. |
| [getOutline()](#getOutline--) | Hämtar konturstilen. |
| [setOutline(CmxOutline value)](#setOutline-com.aspose.imaging.fileformats.cmx.objectmodel.styles.CmxOutline-) | Ställer in konturstilen. |
| [getObjectSpec()](#getObjectSpec--) | Hämtar objektspecifikationen. |
| [setObjectSpec(ICmxObjectSpec value)](#setObjectSpec-com.aspose.imaging.fileformats.cmx.objectmodel.specs.ICmxObjectSpec-) | Ställer in objektspecifikationen. |
| [toString()](#toString--) | Returnerar en String som representerar detta objekt. |
| [equals(Object o)](#equals-java.lang.Object-) | Kontrollera om objekt är lika. |
| [hashCode()](#hashCode--) | Hämta hashkoden för det aktuella objektet. |
### CmxObject() {#CmxObject--}
```
public CmxObject()
```


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


Hämtar fyllningsstilen.

**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)
```


Ställer in fyllningsstilen.

**Parameters:**
| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| value | [CmxFillStyle](../../com.aspose.imaging.fileformats.cmx.objectmodel.styles/cmxfillstyle) | fyllningsstilen. |

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


Hämtar konturstilen.

**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)
```


Ställer in konturstilen.

**Parameters:**
| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| value | [CmxOutline](../../com.aspose.imaging.fileformats.cmx.objectmodel.styles/cmxoutline) | konturstilen. |

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


Hämtar objektspecifikationen.

**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)
```


Ställer in objektspecifikationen.

**Parameters:**
| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| value | [ICmxObjectSpec](../../com.aspose.imaging.fileformats.cmx.objectmodel.specs/icmxobjectspec) | objektspecifikationen. |

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


Returnerar en String som representerar detta objekt.

**Returns:**
java.lang.String - En sträng som representerar detta objekt.
### equals(Object o) {#equals-java.lang.Object-}
```
public boolean equals(Object o)
```


Kontrollera om objekt är lika.

**Parameters:**
| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| o | java.lang.Object | Det andra objektet. |

**Returns:**
boolean - Resultatet av likhetsjämförelsen.
### hashCode() {#hashCode--}
```
public int hashCode()
```


Hämta hashkoden för det aktuella objektet.

**Returns:**
int - Hashkoden.
