public class PainterUtils extends Object
| Constructor and Description |
|---|
PainterUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.jdesktop.swingx.painter.CompoundPainter |
getCompoundPainter(Color matte,
Color gloss,
org.jdesktop.swingx.painter.GlossPainter.GlossPosition position,
double angle,
Color pinstripe)
Gets a CompoundPainter object.
|
static org.jdesktop.swingx.painter.CompoundPainter |
getCompoundPainter(Color color,
org.jdesktop.swingx.painter.GlossPainter.GlossPosition position,
double angle)
Gets the compound painter.
|
static org.jdesktop.swingx.painter.MattePainter |
getMattePainter(int width,
int height,
float[] fractions,
Color... colors)
Gets a MattePainter object.
|
public static org.jdesktop.swingx.painter.CompoundPainter getCompoundPainter(Color matte, Color gloss, org.jdesktop.swingx.painter.GlossPainter.GlossPosition position, double angle, Color pinstripe)
matte - the matte colorgloss - the gloss colorposition - the positionangle - the anglepinstripe - the pinstripe painterpublic static org.jdesktop.swingx.painter.CompoundPainter getCompoundPainter(Color color, org.jdesktop.swingx.painter.GlossPainter.GlossPosition position, double angle)
color - the colorposition - the positionangle - the anglepublic static org.jdesktop.swingx.painter.MattePainter getMattePainter(int width,
int height,
float[] fractions,
Color... colors)
width - the widthheight - the heightfractions - the fractionscolors - the colorsCopyright © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.