Class autoscroll_h
java.lang.Object
org.pushingpixels.radiance.theming.internal.svg.autoscroll_h
- All Implemented Interfaces:
Icon
,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
FieldsModifier and TypeFieldDescriptionprivate Shape
private RadianceIcon.ColorFilter
private GeneralPath
private int
The current height of this icon.private Paint
private Shape
private Stroke
private Stack
<AffineTransform> private int
The current width of this icon. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
_paint0
(Graphics2D g, float origAlpha) static RadianceIcon.Factory
factory()
Returns a factory that returns instances of this icon on demand.int
int
static double
Returns the height of the bounding box of the original SVG image.static double
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
static RadianceIcon
of
(int width, int height) Returns a new instance of this icon with specified dimensions.void
void
setColorFilter
(RadianceIcon.ColorFilter colorFilter) void
setDimension
(Dimension newDimension) Changes the dimension ofthis
icon.boolean
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 Details
-
shape
-
generalPath
-
paint
-
stroke
-
clip
-
colorFilter
-
transformsStack
-
width
private int widthThe current width of this icon. -
height
private int heightThe current height of this icon.
-
-
Constructor Details
-
autoscroll_h
private autoscroll_h()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 Details
-
_paint0
-
innerPaint
-
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 interfaceIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-
setDimension
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
- Specified by:
setColorFilter
in interfaceRadianceIcon
-
paintIcon
-
of
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
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
Returns a factory that returns instances of this icon on demand.- Returns:
- Factory that returns instances of this icon on demand.
-