go to previous page   go to home page   go to next page highlighting

Answer:

The origin (X=0, Y=0) is the upper left corner.


Coordinates

Grid

Graphics objects are described using double precision X and Y coordinates. The origin (0.0, 0.0) is the upper left corner of the image. X increases to the right, and Y increases going down.

Unlike many older graphics packages (for various languages), coordinates and dimensions in JavaFX are double precision variables. Ultimately, the individual pixels of an image are painted at discrete (x,y) locations, but that is a job of the graphics system.



QUESTION 3:

(Review: ) What method selects a color for the stroke?

What method of selects a color for the fill?


go to previous page   go to home page   go to next page