org. helvector. style. Helvetica

Summary
Quick example of using a class as a collection of formats for text.
Returns a StyleSheet for <p>Helvetica, size 10, black, no margins, with a red hover and black active on the <a>links.
Creates and returns a TextFormat instance with _sans, black, and size 10 font properties.

Notes

Quick example of using a class as a collection of formats for text.  The idea needs developing and a decent architecture developing.  One concern is bloat.  I don’t want the files becoming that big that, when used, only one method is called and the rest just add to file size.

Functions

simpleBlack

public static function simpleBlack():TextField.StyleSheet

Returns a StyleSheet for <p>Helvetica, size 10, black, no margins, with a red hover and black active on the <a>links.

Parameters

None.

Returns

Nothing

*

simpleBlackTF

public static function simpleBlackTF():TextFormat

Creates and returns a TextFormat instance with _sans, black, and size 10 font properties.

Returns

TextFormat instance.

public static function simpleBlack():TextField.StyleSheet
Returns a StyleSheet for <p>Helvetica, size 10, black, no margins, with a red hover and black active on the <a>links.
public static function simpleBlackTF():TextFormat
Creates and returns a TextFormat instance with _sans, black, and size 10 font properties.