Class DarkFontUIResource
java.lang.Object
java.awt.Font
javax.swing.plaf.FontUIResource
com.github.weisj.darklaf.uiresource.DarkFontUIResource
- All Implemented Interfaces:
Serializable,UIResource
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class java.awt.Font
BOLD, CENTER_BASELINE, DIALOG, DIALOG_INPUT, HANGING_BASELINE, ITALIC, LAYOUT_LEFT_TO_RIGHT, LAYOUT_NO_LIMIT_CONTEXT, LAYOUT_NO_START_CONTEXT, LAYOUT_RIGHT_TO_LEFT, MONOSPACED, name, PLAIN, pointSize, ROMAN_BASELINE, SANS_SERIF, SERIF, size, style, TRUETYPE_FONT, TYPE1_FONT -
Constructor Summary
ConstructorsConstructorDescriptionDarkFontUIResource(Font font)DarkFontUIResource(String name, int style, int size)Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionderiveFont(float size)deriveFont(int style)deriveFont(int style, float size)deriveFont(int style, AffineTransform trans)deriveFont(AffineTransform trans)deriveFont(Map<? extends AttributedCharacterIterator.Attribute,?> attributes)Methods inherited from class java.awt.Font
canDisplay, canDisplay, canDisplayUpTo, canDisplayUpTo, canDisplayUpTo, createFont, createFont, createFonts, createFonts, createGlyphVector, createGlyphVector, createGlyphVector, createGlyphVector, decode, equals, getAttributes, getAvailableAttributes, getBaselineFor, getFamily, getFamily, getFont, getFont, getFont, getFontName, getFontName, getItalicAngle, getLineMetrics, getLineMetrics, getLineMetrics, getLineMetrics, getMaxCharBounds, getMissingGlyphCode, getName, getNumGlyphs, getPSName, getSize, getSize2D, getStringBounds, getStringBounds, getStringBounds, getStringBounds, getStyle, getTransform, hashCode, hasLayoutAttributes, hasUniformLineMetrics, isBold, isItalic, isPlain, isTransformed, layoutGlyphVector, textRequiresLayout, toString
-
Constructor Details
-
DarkFontUIResource
Deprecated.Creates a new DarkFontUIResource. UseFontUtil.createFont(String, int, int)in combination withDarkFontUIResource(Font)instead.- Parameters:
name- the name of the font familystyle- the style of the fontsize- the size of the font
-
DarkFontUIResource
-
-
Method Details
-
deriveFont
- Overrides:
deriveFontin classFont
-
deriveFont
- Overrides:
deriveFontin classFont
-
deriveFont
- Overrides:
deriveFontin classFont
-
deriveFont
- Overrides:
deriveFontin classFont
-
deriveFont
- Overrides:
deriveFontin classFont
-
deriveFont
- Overrides:
deriveFontin classFont
-