Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
TextStyle
Last updated at 9:10 am UTC on 20 September 2019
Contains an array (fontArray) with instances of StrikeFont or TTCFont.

A textStyle comprises the formatting information for composing and displaying a unit (usually a paragraph) of text. Typically one makes a copy of a master textStyle (such as TextStyle default), and then that copy may get altered in the process of editing. Bad things can happen if you do not copy first.

Access to the TextStyle instances is through the TextConstants global.

For a concrete example, look at
   TextStyle default copy inspect

TextStyle knownTextStyles

See also


Note: A TextStyle object does not include Color information. This is a separate property given either directly to a StringMorph or used in an attribute for a Text.

For more see the class comment.