Simple Graphics Programming Chapter 12 1 For Next Time Read - - PowerPoint PPT Presentation

simple graphics programming
SMART_READER_LITE
LIVE PREVIEW

Simple Graphics Programming Chapter 12 1 For Next Time Read - - PowerPoint PPT Presentation

Simple Graphics Programming Chapter 12 1 For Next Time Read Chapter 12 2 Graphics Coordinate System Pixel at (3,2) Width of area 5 4 3 Viewport class drawing methods 4 Viewport class input methods 5 Better traffic light


slide-1
SLIDE 1

1

Simple Graphics Programming

Chapter 12

slide-2
SLIDE 2

2

For Next Time

 Read Chapter 12

slide-3
SLIDE 3

3

Graphics Coordinate System

Pixel at (3,2) Width of area 5 × 4

slide-4
SLIDE 4

4

Viewport class drawing methods

slide-5
SLIDE 5

5

Viewport class input methods

slide-6
SLIDE 6

6

Better traffic light visualization

slide-7
SLIDE 7

7

Anonymous Inner Classes

Make a subclass and an instance of that subclass on the fly No need to make new named class Syntax may look odd initially, but it really makes sense

slide-8
SLIDE 8

8

Next . . .

Some standard classes . . .