Resolution
Contents
[
Hide
]Inheritance: java.lang.Object
public final class Resolution
Represents class for holding image resolution.
Constructors
| Constructor | Description |
|---|---|
| Resolution(int value) | Initializes a new instance of the Resolution class. |
| Resolution(int valueX, int valueY) | Initializes a new instance of the Resolution class. |
Methods
| Method | Description |
|---|---|
| getX() | Gets horizontal image resolution. |
| setX(int value) | Sets horizontal image resolution. |
| getY() | Gets vertical image resolution. |
| setY(int value) | Sets vertical image resolution. |
Resolution(int value)
public Resolution(int value)
Initializes a new instance of the Resolution class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | Value which represents the horizontal and vertical resolution. |
Resolution(int valueX, int valueY)
public Resolution(int valueX, int valueY)
Initializes a new instance of the Resolution class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| valueX | int | Horizontal resolution. |
| valueY | int | Vertical resolution. |
getX()
public int getX()
Gets horizontal image resolution.
Returns: int - int value
setX(int value)
public void setX(int value)
Sets horizontal image resolution.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | int value |
getY()
public int getY()
Gets vertical image resolution.
Returns: int - int value
setY(int value)
public void setY(int value)
Sets vertical image resolution.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | int value |