Class menu_black_24dp
- java.lang.Object
-
- org.pushingpixels.radiance.theming.internal.svg.menu_black_24dp
-
- All Implemented Interfaces:
javax.swing.Icon
,RadianceIcon
public class menu_black_24dp extends java.lang.Object implements RadianceIcon
This class has been automatically generated using Radiance SVG transcoder.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.pushingpixels.radiance.common.api.icon.RadianceIcon
RadianceIcon.ColorFilter, RadianceIcon.Factory
-
-
Field Summary
Fields Modifier and Type Field Description private java.awt.Shape
clip
private RadianceIcon.ColorFilter
colorFilter
private java.awt.geom.GeneralPath
generalPath
private int
height
The current height of this icon.private java.awt.Paint
paint
private java.awt.Shape
shape
private java.awt.Stroke
stroke
private java.util.Stack<java.awt.geom.AffineTransform>
transformsStack
private int
width
The current width of this icon.
-
Constructor Summary
Constructors Modifier Constructor Description private
menu_black_24dp()
Creates a new transcoded SVG image.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
_paint0(java.awt.Graphics2D g, float origAlpha)
static RadianceIcon.Factory
factory()
Returns a factory that returns instances of this icon on demand.int
getIconHeight()
int
getIconWidth()
static double
getOrigHeight()
Returns the height of the bounding box of the original SVG image.static double
getOrigWidth()
Returns the width of the bounding box of the original SVG image.static double
getOrigX()
Returns the X of the bounding box of the original SVG image.static double
getOrigY()
Returns the Y of the bounding box of the original SVG image.private void
innerPaint(java.awt.Graphics2D g)
static RadianceIcon
of(int width, int height)
Returns a new instance of this icon with specified dimensions.void
paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
void
setColorFilter(RadianceIcon.ColorFilter colorFilter)
void
setDimension(java.awt.Dimension newDimension)
Changes the dimension ofthis
icon.boolean
supportsColorFilter()
static RadianceIconUIResource
uiResourceOf(int width, int height)
Returns a newUIResource
instance of this icon with specified dimensions.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pushingpixels.radiance.common.api.icon.RadianceIcon
toImage
-
-
-
-
Field Detail
-
shape
private java.awt.Shape shape
-
generalPath
private java.awt.geom.GeneralPath generalPath
-
paint
private java.awt.Paint paint
-
stroke
private java.awt.Stroke stroke
-
clip
private java.awt.Shape clip
-
colorFilter
private RadianceIcon.ColorFilter colorFilter
-
transformsStack
private java.util.Stack<java.awt.geom.AffineTransform> transformsStack
-
width
private int width
The current width of this icon.
-
height
private int height
The current height of this icon.
-
-
Constructor Detail
-
menu_black_24dp
private menu_black_24dp()
Creates a new transcoded SVG image. This is marked as private to indicate that app code should be using theof(int, int)
method to obtain a pre-configured instance.
-
-
Method Detail
-
_paint0
private void _paint0(java.awt.Graphics2D g, float origAlpha)
-
innerPaint
private void innerPaint(java.awt.Graphics2D g)
-
getOrigX
public static double getOrigX()
Returns the X of the bounding box of the original SVG image.- Returns:
- The X of the bounding box of the original SVG image.
-
getOrigY
public static double getOrigY()
Returns the Y of the bounding box of the original SVG image.- Returns:
- The Y of the bounding box of the original SVG image.
-
getOrigWidth
public static double getOrigWidth()
Returns the width of the bounding box of the original SVG image.- Returns:
- The width of the bounding box of the original SVG image.
-
getOrigHeight
public static double getOrigHeight()
Returns the height of the bounding box of the original SVG image.- Returns:
- The height of the bounding box of the original SVG image.
-
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interfacejavax.swing.Icon
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interfacejavax.swing.Icon
-
setDimension
public void setDimension(java.awt.Dimension newDimension)
Description copied from interface:RadianceIcon
Changes the dimension ofthis
icon.- Specified by:
setDimension
in interfaceRadianceIcon
- Parameters:
newDimension
- New dimension forthis
icon.
-
supportsColorFilter
public boolean supportsColorFilter()
- Specified by:
supportsColorFilter
in interfaceRadianceIcon
-
setColorFilter
public void setColorFilter(RadianceIcon.ColorFilter colorFilter)
- Specified by:
setColorFilter
in interfaceRadianceIcon
-
paintIcon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
- Specified by:
paintIcon
in interfacejavax.swing.Icon
-
of
public static RadianceIcon of(int width, int height)
Returns a new instance of this icon with specified dimensions.- Parameters:
width
- Required width of the iconheight
- Required height of the icon- Returns:
- A new instance of this icon with specified dimensions.
-
uiResourceOf
public static RadianceIconUIResource uiResourceOf(int width, int height)
Returns a newUIResource
instance of this icon with specified dimensions.- Parameters:
width
- Required width of the iconheight
- Required height of the icon- Returns:
- A new
UIResource
instance of this icon with specified dimensions.
-
factory
public static RadianceIcon.Factory factory()
Returns a factory that returns instances of this icon on demand.- Returns:
- Factory that returns instances of this icon on demand.
-
-