Example usage for Java java.awt.font TextAttribute fields, constructors, methods, implement or subclass
The text is from its open source code.
TextAttribute | FAMILY Attribute key for the font name. |
TextAttribute | WEIGHT Attribute key for the weight of a font. |
Float | WEIGHT_EXTRA_LIGHT The lightest predefined weight. |
Float | WEIGHT_LIGHT The standard light weight. |
Float | WEIGHT_DEMILIGHT An intermediate weight between WEIGHT_LIGHT and WEIGHT_STANDARD . |
Float | WEIGHT_REGULAR The standard weight. |
Float | WEIGHT_SEMIBOLD A moderately heavier weight than WEIGHT_REGULAR . |
Float | WEIGHT_DEMIBOLD A moderately lighter weight than WEIGHT_BOLD . |
Float | WEIGHT_BOLD The standard bold weight. |
Float | WEIGHT_HEAVY A moderately heavier weight than WEIGHT_BOLD . |
Float | WEIGHT_EXTRABOLD An extra heavy weight. |
TextAttribute | POSTURE Attribute key for the posture of a font. |
Float | POSTURE_REGULAR The standard posture, upright. |
Float | POSTURE_OBLIQUE The standard italic posture. |
TextAttribute | SIZE Attribute key for the font size. |
TextAttribute | SUPERSCRIPT Attribute key for superscripting and subscripting. |
Integer | SUPERSCRIPT_SUPER Standard superscript. |
Integer | SUPERSCRIPT_SUB Standard subscript. |
TextAttribute | FONT Attribute key used to provide the font to use to render text. |
TextAttribute | CHAR_REPLACEMENT Attribute key for a user-defined glyph to display in lieu of the font's standard glyph for a character. |
TextAttribute | FOREGROUND Attribute key for the paint used to render the text. |
TextAttribute | BACKGROUND Attribute key for the paint used to render the background of the text. |
TextAttribute | UNDERLINE Attribute key for underline. |
Integer | UNDERLINE_ON Standard underline. |
TextAttribute | STRIKETHROUGH Attribute key for strikethrough. |
Boolean | STRIKETHROUGH_ON A single strikethrough. |
TextAttribute | INPUT_METHOD_HIGHLIGHT Attribute key for input method highlight styles. |
Integer | UNDERLINE_LOW_ONE_PIXEL Single pixel solid low underline. |
TextAttribute | NUMERIC_SHAPING Attribute key for converting ASCII decimal digits to other decimal ranges. |
TextAttribute | KERNING Attribute key to request kerning. |
Integer | KERNING_ON Request standard kerning. |
TextAttribute | LIGATURES Attribute key for enabling optional ligatures. |
Integer | LIGATURES_ON Request standard optional ligatures. |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |