Package com.formdev.flatlaf.ui
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 TypeMethodDescriptionvoid
drawChars
(char[] data, int offset, int length, int x, int y) void
drawString
(String str, float x, float y) void
drawString
(String str, int x, int y) void
drawString
(AttributedCharacterIterator iterator, float x, float y) void
drawString
(AttributedCharacterIterator iterator, int x, int y) Methods inherited from class com.formdev.flatlaf.util.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:
drawString
in classGraphics2DProxy
-
drawString
- Overrides:
drawString
in classGraphics2DProxy
-
drawString
- Overrides:
drawString
in classGraphics2DProxy
-
drawString
- Overrides:
drawString
in classGraphics2DProxy
-
drawChars
public void drawChars(char[] data, int offset, int length, int x, int y) - Overrides:
drawChars
in classGraphics2DProxy
-