
**Inheritance:**
java.lang.Object
```
public final class DisplayUnitsConverter
```

The class contains the methods for converting values.
## Methods

| Method | Description |
| --- | --- |
| [inchToPoint(float inches)](#inchToPoint-float-) | Converts inches to points. |
| [millimeterToInch(float mm)](#millimeterToInch-float-) | Converts millimeters to inches. |
| [millimeterToPoint(float mm)](#millimeterToPoint-float-) | Converts millimeters to points. |
| [pixelToPoint(int pixels, float dpi)](#pixelToPoint-int-float-) | Converts pixels to points at the specified pixel resolution. |
| [pointToInch(float points)](#pointToInch-float-) | Converts points to inches. |
| [pointToPixel(float points, float dpi)](#pointToPixel-float-float-) | Converts points to pixels at the specified pixel resolution. |
### inchToPoint(float inches) {#inchToPoint-float-}
```
public static float inchToPoint(float inches)
```


Converts inches to points.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| inches | float | The value to convert in inches. |

**Returns:**
float - The `float`.
### millimeterToInch(float mm) {#millimeterToInch-float-}
```
public static float millimeterToInch(float mm)
```


Converts millimeters to inches.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| mm | float | The value to convert in millimeters. |

**Returns:**
float - The `float`.
### millimeterToPoint(float mm) {#millimeterToPoint-float-}
```
public static float millimeterToPoint(float mm)
```


Converts millimeters to points.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| mm | float | The value to convert in millimeters. |

**Returns:**
float - The `float`.
### pixelToPoint(int pixels, float dpi) {#pixelToPoint-int-float-}
```
public static float pixelToPoint(int pixels, float dpi)
```


Converts pixels to points at the specified pixel resolution.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| pixels | int | The value to convert in pixels. |
| dpi | float | Screen resolution. |

**Returns:**
float - The `int`.
### pointToInch(float points) {#pointToInch-float-}
```
public static float pointToInch(float points)
```


Converts points to inches.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| points | float | The value to convert in points. |

**Returns:**
float - The `float`.
### pointToPixel(float points, float dpi) {#pointToPixel-float-float-}
```
public static int pointToPixel(float points, float dpi)
```


Converts points to pixels at the specified pixel resolution.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| points | float | The value to convert in points. |
| dpi | float | Screen resolution. |

**Returns:**
int - The `int`.
