What's New in QuickTime 5
| Previous | Chapter Contents | Chapter Top | Next |
Class text frame: A reference to a text frame in a QuickTime text track
Plural form:
Properties:
-
antialias boolean -- anti-alias text against background
-
class type class [r/o] -- the class
-
background color RGB color -- the background color of the text frame
-
default font string -- the name of the default font
-
default font size integer -- the default font size of the text frame
-
default font styles list -- the default font styles of the text frame
-
dimensions point -- the dimensions of the text frame
-
foreground color RGB color -- the foreground color of the text frame
-
justification left/right/center -- the justification of the text frame
-
keyed boolean -- render text over background
-
position point -- the position of the text frame
For example, you can set text frame properties this way:
tell text frame 1
set background color to {2345, 34563, 324}
set foreground color to {0, 0, 0}
set justification to left
set default font to "times"
set default font size to 18
set default font styles to {bold, italic}
end tell
© 2001 Apple Computer, Inc.
What's New in QuickTime 5
| Previous | Chapter Contents | Chapter Top | Next |