Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /
Chapter 6 - Drawing and Graphics 2.1 / Using Drawing and Graphics in the Newton 2.1 OS


Creating Gray Text

There are a few ways in which text can be drawn in gray tones. A new font spec frame slot named color has been added. This slot can be set to any gray tone, and used anywhere a font spec frames are used, including within a graphic shape's style frame's font slot.

A graphic shape's style frame can also contain a new slot, textPattern. If this slot is present, text in text shapes will be drawn in the specified tone or pattern. If this slot is not present, text is drawn in the tone specified by the fillPattern slot. (Note that it is the fillPattern slot, and not the penPattern slot that is used.)

Text shapes are always drawn in black on Newton 1.x and 2.0 OS.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
26 APR 1997



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help