public class Point extends Object
Represents a point with integer pixel coordinates.
| Constructor and Description |
|---|
Point(int x,
int y)
Initializes a new instance of the
class. |
| Modifier and Type | Method and Description |
|---|---|
int |
getX()
Gets the x-coordinate of this point.
|
int |
getY()
Gets the y-coordinate of this point.
|
public Point(int x,
int y)
Initializes a new instance of the class.
Point
x - The x-coordinate of the point.y - The y-coordinate of the point.Copyright © 2026. All rights reserved.