Inherits from Stationery
Default font stationery is stationery with font styles.
Instantiate: sometimes Subclass: rarely Call its methods: often
You'll rarely subclass class DefaultFontStationery. To make new stationery types, you'll usually just create new objects of class DefaultFontStationery.
Class DefaultFontStationery defines the following methods:
Method | Description |
---|---|
CreateNewCardNear |
Overridden to mark the text in the new card with text styles |
Class DefaultFontStationery defines the following fields:
Field | Type | Description |
---|---|---|
Inherited from SingleLinkable | ||
next | Object | Next item in view list |
Inherited from Linkable | ||
previous | Object | Previous item in view list |
Inherited from Viewable | ||
superview | Viewable | Container for this object |
subview | Viewable | Object contained by this object |
relativeOrigin | Dot | Origin relative to superview |
contentSize | Dot | Size of content rectangle |
viewFlags | Flags | Property settings |
labelStyle | TextStyle | Text style of object's label |
color | Color | Color of object's content |
shadow | Shadow | Shadow drawn with object |
sound | Sound | Sound associated with object |
Inherited from HasBorder | ||
border | Border | Framed border drawn around object |
Inherited from Stationery | ||
image | Image | The image to use to represent the stationery; if nilObject, | stationery is drawn using the card icon |
card | Card | The prototype card used by this stationery |
dependency | Object | Usually nilObject; if it's an indexical, touching will do | nothing if indexical has no current value |
hopTarget | Object | A specific viewable to install a minicard onto when self is | touched; if nilObject, the getter decides where |
See the chapter on class Stationery for an example of a typical default font stationery object.