**Inheritance:**
java.lang.Object, [com.aspose.imaging.fileformats.emf.MetaObject](../../com.aspose.imaging.fileformats.emf/metaobject), [com.aspose.imaging.fileformats.emf.emf.objects.EmfObject](../../com.aspose.imaging.fileformats.emf.emf.objects/emfobject)
```
public final class EmfTriVertex extends EmfObject
```

The TriVertex object specifies color and position information for the definition of a rectangle or triangle vertex.
## Constructors

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

| Method | Description |
| --- | --- |
| [getX()](#getX--) | Gets or sets a 32-bit signed integer that specifies the horizontal position, in logical units. |
| [setX(int value)](#setX-int-) | Gets or sets a 32-bit signed integer that specifies the horizontal position, in logical units. |
| [getY()](#getY--) | Gets or sets a 32-bit signed integer that specifies the vertical position, in logical units. |
| [setY(int value)](#setY-int-) | Gets or sets a 32-bit signed integer that specifies the vertical position, in logical units. |
| [getRed()](#getRed--) | Gets or sets a 16-bit unsigned integer that specifies the red color value for the point. |
| [setRed(short value)](#setRed-short-) | Gets or sets a 16-bit unsigned integer that specifies the red color value for the point. |
| [getGreen()](#getGreen--) | Gets or sets a 16-bit unsigned integer that specifies the green color value for the point. |
| [setGreen(short value)](#setGreen-short-) | Gets or sets a 16-bit unsigned integer that specifies the green color value for the point. |
| [getBlue()](#getBlue--) | Gets or sets a 16-bit unsigned integer that specifies the blue color value for the point. |
| [setBlue(short value)](#setBlue-short-) | Gets or sets a 16-bit unsigned integer that specifies the blue color value for the point. |
| [getAlpha()](#getAlpha--) | Gets or sets a 16-bit unsigned integer that specifies the alpha transparency value for the point. |
| [setAlpha(short value)](#setAlpha-short-) | Gets or sets a 16-bit unsigned integer that specifies the alpha transparency value for the point. |
### EmfTriVertex() {#EmfTriVertex--}
```
public EmfTriVertex()
```


### getX() {#getX--}
```
public int getX()
```


Gets or sets a 32-bit signed integer that specifies the horizontal position, in logical units.

**Returns:**
int
### setX(int value) {#setX-int-}
```
public void setX(int value)
```


Gets or sets a 32-bit signed integer that specifies the horizontal position, in logical units.

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

### getY() {#getY--}
```
public int getY()
```


Gets or sets a 32-bit signed integer that specifies the vertical position, in logical units.

**Returns:**
int
### setY(int value) {#setY-int-}
```
public void setY(int value)
```


Gets or sets a 32-bit signed integer that specifies the vertical position, in logical units.

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

### getRed() {#getRed--}
```
public short getRed()
```


Gets or sets a 16-bit unsigned integer that specifies the red color value for the point.

**Returns:**
short
### setRed(short value) {#setRed-short-}
```
public void setRed(short value)
```


Gets or sets a 16-bit unsigned integer that specifies the red color value for the point.

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

### getGreen() {#getGreen--}
```
public short getGreen()
```


Gets or sets a 16-bit unsigned integer that specifies the green color value for the point.

**Returns:**
short
### setGreen(short value) {#setGreen-short-}
```
public void setGreen(short value)
```


Gets or sets a 16-bit unsigned integer that specifies the green color value for the point.

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

### getBlue() {#getBlue--}
```
public short getBlue()
```


Gets or sets a 16-bit unsigned integer that specifies the blue color value for the point.

**Returns:**
short
### setBlue(short value) {#setBlue-short-}
```
public void setBlue(short value)
```


Gets or sets a 16-bit unsigned integer that specifies the blue color value for the point.

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

### getAlpha() {#getAlpha--}
```
public short getAlpha()
```


Gets or sets a 16-bit unsigned integer that specifies the alpha transparency value for the point.

**Returns:**
short
### setAlpha(short value) {#setAlpha-short-}
```
public void setAlpha(short value)
```


Gets or sets a 16-bit unsigned integer that specifies the alpha transparency value for the point.

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

