Class FlatMenuItemRenderer.GraphicsProxyWithTextColor
java.lang.Object
java.awt.Graphics
java.awt.Graphics2D
com.formdev.flatlaf.util.Graphics2DProxy
com.formdev.flatlaf.ui.FlatMenuItemRenderer.GraphicsProxyWithTextColor
- Enclosing class:
FlatMenuItemRenderer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawChars(char[] data, int offset, int length, int x, int y) voiddrawString(String str, float x, float y) voiddrawString(String str, int x, int y) voiddrawString(AttributedCharacterIterator iterator, float x, float y) voiddrawString(AttributedCharacterIterator iterator, int x, int y) Methods inherited from class Graphics2DProxy
addRenderingHints, clearRect, clip, clipRect, copyArea, create, create, dispose, draw, draw3DRect, drawArc, drawBytes, drawGlyphVector, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawLine, drawOval, drawPolygon, drawPolygon, drawPolyline, drawRect, drawRenderableImage, drawRenderedImage, drawRoundRect, fill, fill3DRect, fillArc, fillOval, fillPolygon, fillPolygon, fillRect, fillRoundRect, getBackground, getClip, getClipBounds, getClipBounds, getClipRect, getColor, getComposite, getDeviceConfiguration, getFont, getFontMetrics, getFontMetrics, getFontRenderContext, getPaint, getRenderingHint, getRenderingHints, getStroke, getTransform, hit, hitClip, rotate, rotate, scale, setBackground, setClip, setClip, setColor, setComposite, setFont, setPaint, setPaintMode, setRenderingHint, setRenderingHints, setStroke, setTransform, setXORMode, shear, toString, transform, translate, translate
-
Field Details
-
textColor
-
-
Constructor Details
-
GraphicsProxyWithTextColor
GraphicsProxyWithTextColor(Graphics2D delegate, Color textColor)
-
-
Method Details
-
drawString
- Overrides:
drawStringin classGraphics2DProxy
-
drawString
- Overrides:
drawStringin classGraphics2DProxy
-
drawString
- Overrides:
drawStringin classGraphics2DProxy
-
drawString
- Overrides:
drawStringin classGraphics2DProxy
-
drawChars
public void drawChars(char[] data, int offset, int length, int x, int y) - Overrides:
drawCharsin classGraphics2DProxy
-