-
public final class IconStyleRepresents the styling for the icon component.
-
-
Field Summary
Fields Modifier and Type Field Description private final Painterpainterprivate final Colortintprivate final ComponentSizesize
-
Constructor Summary
Constructors Constructor Description IconStyle(Painter painter, Color tint, ComponentSize size)
-
Method Summary
Modifier and Type Method Description final PaintergetPainter()final ColorgetTint()final ComponentSizegetSize()-
-
Constructor Detail
-
IconStyle
IconStyle(Painter painter, Color tint, ComponentSize size)
- Parameters:
painter- The painter to use for the icon.tint- The tint color for the icon.size- The size of the icon.
-
-
Method Detail
-
getPainter
final Painter getPainter()
-
getTint
final Color getTint()
-
getSize
final ComponentSize getSize()
-
-
-
-