Section 13.1 Introduction

• Java’s coordinate system (p. 556) is a scheme for identifying every point (p. 567) on the screen.

• A coordinate pair (p. 556) has an x-coordinate (horizontal) and a y-coordinate (vertical).

• Coordinates are used to indicate where graphics should be displayed on a screen.

• Coordinate units are measured in pixels (p. 556). A pixel is a display monitor’s smallest unit of resolution.

Get Java™ How To Program (Early Objects), Tenth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.