June 2017
Beginner
1296 pages
69h 23m
English
Java’s coordinate system (p. 2) is a scheme for identifying every point (p. 13) on the screen.
A coordinate pair (p. 2) 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. 2). A pixel is a display monitor’s smallest unit of resolution.
A Java graphics context (p. 4) enables drawing on the screen.
Class Graphics (p. 4) contains methods for drawing strings, lines, rectangles and other shapes. Methods are also included for font manipulation and color manipulation.
A Graphics object manages a graphics context and draws pixels ...
Read now
Unlock full access