Next: BLOX.BTextAttributes-colors, Up: BLOX.BTextAttributes [Index]
Create a new BTextAttributes object resulting in text with the given background color.
Create a new BTextAttributes object resulting in black text.
Create a new BTextAttributes object resulting in blue text.
Create a new BTextAttributes object resulting in centered paragraphs.
Create a new BTextAttributes object resulting in cyan text.
Create a new BTextAttributes object resulting in dark cyan text.
Create a new BTextAttributes object resulting in dark green text.
Create a new BTextAttributes object resulting in dark purple text.
Create a new BTextAttributes object for text that responds to events according to the callbacks established in aBTextBindings.
Create a new BTextAttributes object resulting in text with the given font. The font can be given as either an X font name or a Blox font description string.
X font names are given as many fields, each led by a minus, and each of which can be replaced by an * to indicate a default value is ok: foundry, family, weight, slant, setwidth, addstyle, pixel size, point size (the same as pixel size for historical reasons), horizontal resolution, vertical resolution, spacing, width, charset and character encoding.
Blox font description strings have three fields, which must be separated by a space and of which only the first is mandatory: the font family, the font size in points (or in pixels if a negative value is supplied), and a number of styles separated by a space (valid styles are normal, bold, italic, underline and overstrike). Examples of valid fonts are “Helvetica 10 Bold”, “Times -14”, “Futura Bold Underline”. You must enclose the font family in braces if it is made of two or more words.
Create a new BTextAttributes object resulting in text with the given foreground color.
Create a new BTextAttributes object resulting in green text.
Create a new BTextAttributes object resulting in magenta text.
Create a new BTextAttributes object resulting in red text.
Create a new BTextAttributes object resulting in struck-out text.
Create a new BTextAttributes object resulting in underlined text.
Create a new BTextAttributes object resulting in white text.
Create a new BTextAttributes object resulting in yellow text.
Next: BLOX.BTextAttributes-colors, Up: BLOX.BTextAttributes [Index]