Synonym for BGPAINT.
Synonym for BGPAINT.
A Paint
instance (which includes colours) that specifies the background colour of text.
Synonym for PAINT.
Synonym for PAINT.
The value of this attribute is a string that names the font family to be used. The following "standard family names" are defined for convenience:
FAMILY_BODY
the standard Strange Eons body text font, if the core fonts
library is installed (and otherwise a stand-in font)
FAMILY_SERIF
a default serif family
FAMILY_SANS_SERIF
a default sans-serif family
FAMILY_MONOSPACED
a default monospace family
The value of this attribute is a java.awt.Font
instance that specifies an exact font to use.
The value of this attribute controls whether ligature replacement is performed.
A Paint
instance (which includes colours) that specifies the foreground colour of text.
The value of this attribute controls the text posture (such as italic).
The value of this attribute is a number controlling the point size of text.
The value of this attribute controls the text strikethrough effect.
The value of this attribute is an integer number indicating the number super- or subscript levels should be in effect. It is normally 0; positive numbers indicate superscript levels while negative numbers indicate subscript levels.
The value of this attribute controls whether foreground and background paint are swapped.
Synonym for SWAP_COLORS.
The possible style keys.
The value of this attribute is a number that controls tracking (spacing between letters). A value of 0 provides standard spacing; positive values increase inter-letter spacing, while negative values move letters closer together.
The value of this attribute controls text underlining.
The value of this attribute controls the text weight.
Note: The effectiveness of this attribute relies on underlying support from the platform and JRE. Some weights may have no effect. (The regular and bold weights should always be available.)
The value of this attribute controls the text width.
A predefined value for the FAMILY
style that results in the standard Strange Eons body text font.
A predefined value for the FAMILY
style that results in a monospace/typewriter type font family
A predefined value for the FAMILY
style that results in a sans serif font family.
A predefined value for the FAMILY
style that results in a serif font family.
Fit text by shrinking it and reducing the space between lines.
Do not try to fit text that is too long to fit in the given region.
Fit long text by shrinking it down.
Fit long text by reducing line spacing.
Vertically align text to the bottom of the region.
Center lines of text.
Lines will be justified to fit the width of the region.
Left-align lines of text.
Vertically center text within the region.
Right-align lines of text.
Vertically align text to the top of the region.
A predefined value for the LIGATURES
style that enables ligature replacement.
A predefined value for the POSTURE
style. This is italic or slanted text.
A predefined value for the POSTURE
style. This is standard upright text.
A predefined value for the STRIKETHROUGH
style that enables strikethrough.
A predefined value for the SUPERSCRIPT
style indicating one level of subscript.
A predefined value for the SUPERSCRIPT
style indicating one level of superscript.
A predefined value for the SWAP_COLORS
style that enables swapping.
Synonym for SWAP_COLORS_ON.
A predefined value for the TRACKING
style that results in looser than normal tracking.
A predefined value for the TRACKING
style that results in tighter than normal tracking.
A predefined value for the UNDERLINE
style that enables an underline effect.
A predefined value for the WEIGHT
style.
A predefined value for the WEIGHT
style.
A predefined value for the WEIGHT
style.
A predefined value for the WEIGHT
style.
A predefined value for the WEIGHT
style.
A predefined value for the WEIGHT
style.
A predefined value for the WEIGHT
style.
A predefined value for the WEIGHT
style.
A predefined value for the WEIGHT
style. This is the default weight.
A predefined value for the WEIGHT
style.
A predefined value for the WEIGHT
style.
A predefined value for the WIDTH
style.
A predefined value for the WIDTH
style.
A predefined value for the WIDTH
style. This is the default width.
A predefined value for the WIDTH
style.
A predefined value for the WIDTH
style.
Creates a new markup renderer that can lay out text marked up with Strange Eons tags. The renderer will be set up for use with a particular component sheet, typically a DIY card face.
the sheet that the box's text will be drawn on, such as that passed to createFrontPainter
if true, a GenderMarkupBox is returned
Creates a new markup renderer that is optimized to lay out text marked up with Strange Eons tags in a graphics context of the specified target resolution.
the target resolution
if true, a GenderMarkupBox is returned
Updates a box's <name>
, <lastname>
, and <fullname>
tags using
a component's current name. Call this at the start of your painting function
before drawing a box's text if you want name tags to work properly.
This function sets the name automatically using the text of the component's
name property. For more complete control, use the Sheet class's
setNamesForRenderer(markupBox, firstName, lastName, fullName)
method.
the box to update
the component (such as a DIY component) to extract names from
markup library
Classes and functions that can be used to create markup boxes. A markup box is used to render component text in a rectangular area of a component face. The text is styled, and can include HTML-like markup to add styles, images, headings, and other features.
Include this library by adding
useLibrary("markup")
to your script. See the plug-in authoring kit for examples that use this library.