Draw a string on a picture at the top of the picture and centered horizontally. You will need to use the FontMetrics class to get the height of the string in pixels in order to determine where the baseline should be so that the string is visible. You should also subtract the descent from the height.

What will be an ideal response?


Computer Science & Information Technology

You might also like to view...

A(n) ________ accepts two or more options in a lookup field

A) required B) multiple-value field C) input mask D) lookup list

Computer Science & Information Technology

Match the following font types and descriptions:

I. Serif font II. Proportional font III. OpenType font IV. Sans serif font V. Monospaced font A. Allocates the same amount of horizontal space to each character B. Incorporates a greater extension of the basic character set C. Contains a thin line at the top and bottom of each primary stroke D. Does not include a thin line at the top and bottom of each stroke E. Allocates space according to the width of a character

Computer Science & Information Technology

The Backspace key is an example of a keyboard shortcut

Indicate whether the statement is true or false.

Computer Science & Information Technology

____ cells makes a scenario summary report easier to read.

A. Summing B. Naming C. Subtotaling D. Condensing

Computer Science & Information Technology