Package org.emrick.project
Class FlowViewGUI.ThemedPlayIcon
java.lang.Object
org.emrick.project.FlowViewGUI.ThemedPlayIcon
- All Implemented Interfaces:
Icon
- Enclosing class:
- FlowViewGUI
Play icon recolored to the current theme's button text color so it stays visible in both
light and dark mode. It is rendered at the screen's real pixel density (HiDPI / Windows
display scaling) and downscaled with area averaging, so it stays crisp instead of being
a 16px bitmap stretched by the OS.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SIZE
private static final int SIZE- See Also:
-
SOURCE
-
cache
-
-
Constructor Details
-
ThemedPlayIcon
private ThemedPlayIcon()
-
-
Method Details
-
paintIcon
-
render
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidthin interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeightin interfaceIcon
-