Package org.pentaho.di.core.gui
Interface PrimitiveGCInterface
-
public interface PrimitiveGCInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PrimitiveGCInterface.EColor
static class
PrimitiveGCInterface.EFont
static class
PrimitiveGCInterface.EImage
static class
PrimitiveGCInterface.ELineStyle
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dispose()
void
drawImage(BufferedImage image, int x, int y)
void
drawImage(String location, ClassLoader classLoader, int x, int y)
void
drawImage(PrimitiveGCInterface.EImage image, int x, int y)
void
drawImage(PrimitiveGCInterface.EImage image, int x, int y, float magnification)
void
drawImage(PrimitiveGCInterface.EImage image, int x, int y, float magnification, double angle)
void
drawImage(PrimitiveGCInterface.EImage image, int x, int y, int width, int height, float magnification)
void
drawLine(int x, int y, int x2, int y2)
void
drawPoint(int x, int y)
void
drawPolygon(int[] polygon)
void
drawPolyline(int[] polyline)
void
drawRectangle(int x, int y, int width, int height)
void
drawRoundRectangle(int x, int y, int width, int height, int circleWidth, int circleHeight)
void
drawText(String text, int x, int y)
void
drawText(String text, int x, int y, boolean transparent)
void
fillGradientRectangle(int x, int y, int width, int height, boolean vertical)
void
fillPolygon(int[] polygon)
void
fillRectangle(int x, int y, int width, int height)
void
fillRoundRectangle(int x, int y, int width, int height, int circleWidth, int circleHeight)
int
getAlpha()
Point
getArea()
Point
getDeviceBounds()
Object
getImage()
Point
getImageBounds(PrimitiveGCInterface.EImage eImage)
void
setAlpha(int alpha)
void
setAntialias(boolean antiAlias)
void
setBackground(int red, int green, int blue)
void
setBackground(PrimitiveGCInterface.EColor color)
void
setFont(String fontName, int fontSize, boolean fontBold, boolean fontItalic)
void
setFont(PrimitiveGCInterface.EFont font)
void
setForeground(int red, int green, int blue)
void
setForeground(PrimitiveGCInterface.EColor color)
void
setLineStyle(PrimitiveGCInterface.ELineStyle lineStyle)
void
setLineWidth(int width)
void
setTransform(float translationX, float translationY, int shadowsize, float magnification)
void
switchForegroundBackgroundColors()
Point
textExtent(String text)
-
-
-
Method Detail
-
setLineWidth
void setLineWidth(int width)
-
setFont
void setFont(PrimitiveGCInterface.EFont font)
-
getDeviceBounds
Point getDeviceBounds()
-
setBackground
void setBackground(PrimitiveGCInterface.EColor color)
-
setForeground
void setForeground(PrimitiveGCInterface.EColor color)
-
setBackground
void setBackground(int red, int green, int blue)
-
setForeground
void setForeground(int red, int green, int blue)
-
fillRectangle
void fillRectangle(int x, int y, int width, int height)
-
fillGradientRectangle
void fillGradientRectangle(int x, int y, int width, int height, boolean vertical)
-
drawImage
void drawImage(String location, ClassLoader classLoader, int x, int y)
-
drawImage
void drawImage(PrimitiveGCInterface.EImage image, int x, int y)
-
drawImage
void drawImage(PrimitiveGCInterface.EImage image, int x, int y, float magnification)
-
drawImage
void drawImage(PrimitiveGCInterface.EImage image, int x, int y, int width, int height, float magnification)
-
drawImage
void drawImage(PrimitiveGCInterface.EImage image, int x, int y, float magnification, double angle)
-
drawImage
void drawImage(BufferedImage image, int x, int y)
-
drawLine
void drawLine(int x, int y, int x2, int y2)
-
setLineStyle
void setLineStyle(PrimitiveGCInterface.ELineStyle lineStyle)
-
drawRectangle
void drawRectangle(int x, int y, int width, int height)
-
drawPoint
void drawPoint(int x, int y)
-
drawText
void drawText(String text, int x, int y)
-
drawText
void drawText(String text, int x, int y, boolean transparent)
-
fillRoundRectangle
void fillRoundRectangle(int x, int y, int width, int height, int circleWidth, int circleHeight)
-
drawRoundRectangle
void drawRoundRectangle(int x, int y, int width, int height, int circleWidth, int circleHeight)
-
fillPolygon
void fillPolygon(int[] polygon)
-
drawPolygon
void drawPolygon(int[] polygon)
-
drawPolyline
void drawPolyline(int[] polyline)
-
setAntialias
void setAntialias(boolean antiAlias)
-
setTransform
void setTransform(float translationX, float translationY, int shadowsize, float magnification)
-
setAlpha
void setAlpha(int alpha)
-
dispose
void dispose()
-
getAlpha
int getAlpha()
-
setFont
void setFont(String fontName, int fontSize, boolean fontBold, boolean fontItalic)
-
getImage
Object getImage()
-
getImageBounds
Point getImageBounds(PrimitiveGCInterface.EImage eImage)
-
switchForegroundBackgroundColors
void switchForegroundBackgroundColors()
-
getArea
Point getArea()
-
-