Uses of Class
ca.cgjennings.layout.TextStyle
-
Packages that use TextStyle Package Description ca.cgjennings.apps.arkham.plugins.engine ca.cgjennings.layout resources -
-
Uses of TextStyle in ca.cgjennings.apps.arkham.plugins.engine
Methods in ca.cgjennings.apps.arkham.plugins.engine that return TextStyle Modifier and Type Method Description TextStyle
SettingBindings.LiveSetting. getTextStyle()
Returns the current value of the setting as a text style. -
Uses of TextStyle in ca.cgjennings.layout
Fields in ca.cgjennings.layout declared as TextStyle Modifier and Type Field Description static TextStyle
TextStyle. BOLD_STYLE
A shared instance of a style that will render bold text.static TextStyle
TextStyle. COLOR_BLACK
Standard colours.static TextStyle
TextStyle. COLOR_BLUE
static TextStyle
TextStyle. COLOR_BROWN
static TextStyle
TextStyle. COLOR_DKGREY
static TextStyle
TextStyle. COLOR_GREEN
static TextStyle
TextStyle. COLOR_GREY
static TextStyle
TextStyle. COLOR_LTGREY
static TextStyle
TextStyle. COLOR_ORANGE
static TextStyle
TextStyle. COLOR_PURPLE
static TextStyle
TextStyle. COLOR_RED
static TextStyle
TextStyle. COLOR_WHITE
static TextStyle
TextStyle. COLOR_YELLOW
static TextStyle
TextStyle. ITALIC_STYLE
A shared instance of a style that will render italic text.static TextStyle
TextStyle. JUSTIFY
A shared instance of a style that will enable justification.static TextStyle
TextStyle. KERNING_OFF
A shared instance of a style that will disable kerning of text.static TextStyle
TextStyle. KERNING_ON
A shared instance of a style that will enable kerning of text.static TextStyle
TextStyle. LIGATURES_OFF
A shared instance of a style that will disable optional ligature replacement.static TextStyle
TextStyle. LIGATURES_ON
A shared instance of a style that will enable optional ligature replacement.static TextStyle
TextStyle. PLAIN_STYLE
A shared instance of a style that will render "plain" text, removing any italic and bold effects.static TextStyle
TextStyle. SANSSERIF_STYLE
A shared instance of a style that will render sans serif text.static TextStyle
TextStyle. SERIF_STYLE
A shared instance of a style that will render serif text.static TextStyle
TextStyle. STRIKETHROUGH_STYLE
A shared instance of a style that will render struck out text.static TextStyle
TextStyle. SUBSCRIPT_STYLE
A shared instance of a style that will render subscript text.static TextStyle
TextStyle. SUPERSCRIPT_STYLE
A shared instance of a style that will render superscript text.static TextStyle
TextStyle. TYPEWRITER_STYLE
A shared instance of a style that will render sans serif text.static TextStyle
TextStyle. UNDERLINE_STYLE
A shared instance of a style that will render underlined text.static TextStyle
TextStyle. UPRIGHT_STYLE
Methods in ca.cgjennings.layout that return TextStyle Modifier and Type Method Description protected TextStyle
MarkupRenderer. adjustStyleForContext(TextStyle style)
protected TextStyle
MarkupToHTMLConverter. adjustStyleForContext(TextStyle style)
TextStyle
BackgroundColorStyleFactory. createStyle(MarkupRenderer renderer, java.lang.String[] parameters)
TextStyle
FontFamilyStyleFactory. createStyle(MarkupRenderer renderer, java.lang.String[] parameters)
TextStyle
FontSizeStyleFactory. createStyle(MarkupRenderer renderer, java.lang.String[] parameters)
TextStyle
ForegroundColorStyleFactory. createStyle(MarkupRenderer renderer, java.lang.String[] parameters)
TextStyle
GraphicStyleFactory. createStyle(MarkupRenderer renderer, java.lang.String[] parameters)
Create a style based on a list of parameters to be parsed, typically from an <image> tag.TextStyle
GraphicStyleFactory. createStyle(StrangeImage i)
TextStyle
GraphicStyleFactory. createStyle(StrangeImage i, int alignment)
TextStyle
GraphicStyleFactory. createStyle(StrangeImage i, int alignment, double width, double height, float originX, float originY)
TextStyle
ParametricStyleFactory. createStyle(MarkupRenderer renderer, java.lang.String[] parameters)
TextStyle
TrackingStyleFactory. createStyle(MarkupRenderer renderer, java.lang.String[] parameters)
TextStyle
WeightStyleFactory. createStyle(MarkupRenderer renderer, java.lang.String[] parameters)
TextStyle
WidthStyleFactory. createStyle(MarkupRenderer renderer, java.lang.String[] parameters)
TextStyle
MarkupRenderer. getDefaultStyle()
Return the current default style applied to text before any tags are applied.TextStyle
MarkupRenderer. getStyleForTag(java.lang.String tagName)
Return theTextStyle
associated with the tag, ornull
if the tag does not have a non-parametric style set (including if it has a replacement or parametric style set).Methods in ca.cgjennings.layout with parameters of type TextStyle Modifier and Type Method Description void
TextStyle. add(TextStyle sourceStyle)
Add all the attributes of thesourceStyle
to this style.protected TextStyle
MarkupRenderer. adjustStyleForContext(TextStyle style)
protected TextStyle
MarkupToHTMLConverter. adjustStyleForContext(TextStyle style)
void
MarkupRenderer. setDefaultStyle(TextStyle style)
Set the default style applied to text before any tags are applied.void
MarkupRenderer. setStyleForTag(java.lang.String tagName, TextStyle style)
Set the style associated with a non-parametric tag. -
Uses of TextStyle in resources
Methods in resources that return TextStyle Modifier and Type Method Description TextStyle
Settings. getTextStyle(java.lang.String key, TextStyle base)
Returns aTextStyle
suitable for use with markup from the value of the specified key; the key name will have-style
appended if necessary.static TextStyle
Settings. textStyle(java.lang.String value, TextStyle base)
Returns aTextStyle
suitable for use with markup from the specified value.Methods in resources with parameters of type TextStyle Modifier and Type Method Description TextStyle
Settings. getTextStyle(java.lang.String key, TextStyle base)
Returns aTextStyle
suitable for use with markup from the value of the specified key; the key name will have-style
appended if necessary.static TextStyle
Settings. textStyle(java.lang.String value, TextStyle base)
Returns aTextStyle
suitable for use with markup from the specified value.
-