---
title: "IGradientTransparencyPoint"
url: "https://reference.aspose.com/psd/java/com.aspose.psd.fileformats.psd.layers.fillsettings/igradienttransparencypoint/"
product: "Aspose.PSD for Java API Reference"
description: "Base interface for fill settings"
---

```
public interface IGradientTransparencyPoint
```

Base interface for fill settings
## Methods

| Method | Description |
| --- | --- |
| [getLocation()](#getLocation--) | Gets or sets the location. |
| [getMedianPointLocation()](#getMedianPointLocation--) | Gets or sets the median point location. |
| [getOpacity()](#getOpacity--) | Gets or sets the opacity. |
| [setLocation(int value)](#setLocation-int-) | Gets or sets the location. |
| [setMedianPointLocation(int value)](#setMedianPointLocation-int-) | Gets or sets the median point location. |
| [setOpacity(double value)](#setOpacity-double-) | Gets or sets the opacity. |
### getLocation() {#getLocation--}
```
public abstract int getLocation()
```


Gets or sets the location. Value range 0-4096.

Value: The location.

**Returns:**
int
### getMedianPointLocation() {#getMedianPointLocation--}
```
public abstract int getMedianPointLocation()
```


Gets or sets the median point location. Value range 0-4096.

Value: The median point location.

**Returns:**
int
### getOpacity() {#getOpacity--}
```
public abstract double getOpacity()
```


Gets or sets the opacity.

Value: The opacity.

**Returns:**
double
### setLocation(int value) {#setLocation-int-}
```
public abstract void setLocation(int value)
```


Gets or sets the location. Value range 0-4096.

Value: The location.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setMedianPointLocation(int value) {#setMedianPointLocation-int-}
```
public abstract void setMedianPointLocation(int value)
```


Gets or sets the median point location. Value range 0-4096.

Value: The median point location.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setOpacity(double value) {#setOpacity-double-}
```
public abstract void setOpacity(double value)
```


Gets or sets the opacity.

Value: The opacity.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double |  |

