**Inheritance:**
java.lang.Object
```
public class TransparencySupporter
```

The object supporting transparency.
## Constructors

| Constructor | Description |
| --- | --- |
| [TransparencySupporter()](#TransparencySupporter--) |  |
## Methods

| Method | Description |
| --- | --- |
| [getOpacity()](#getOpacity--) | Gets the object's opacity. |
| [setOpacity(float value)](#setOpacity-float-) | Sets the object's opacity. |
| [equals(Object o)](#equals-java.lang.Object-) | Check if objects are equal. |
| [hashCode()](#hashCode--) | Get hash code of the current object. |
### TransparencySupporter() {#TransparencySupporter--}
```
public TransparencySupporter()
```


### getOpacity() {#getOpacity--}
```
public float getOpacity()
```


Gets the object's opacity. The value should be between 0 and 1. Value of 0 means that object is fully visible, value of 1 means the object is fully opaque.

**Returns:**
float - The opacity value.
### setOpacity(float value) {#setOpacity-float-}
```
public void setOpacity(float value)
```


Sets the object's opacity. The value should be between 0 and 1. Value of 0 means that object is fully visible, value of 1 means the object is fully opaque.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float | The opacity value. |

### equals(Object o) {#equals-java.lang.Object-}
```
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() {#hashCode--}
```
public int hashCode()
```


Get hash code of the current object.

**Returns:**
int - The hash code.
