Package org.pentaho.di.core.gui
Interface PrimitiveGCInterface
-
public interface PrimitiveGCInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPrimitiveGCInterface.EColorstatic classPrimitiveGCInterface.EFontstatic classPrimitiveGCInterface.EImagestatic classPrimitiveGCInterface.ELineStyle
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddispose()voiddrawImage(BufferedImage image, int x, int y)voiddrawImage(String location, ClassLoader classLoader, int x, int y)voiddrawImage(PrimitiveGCInterface.EImage image, int x, int y)voiddrawImage(PrimitiveGCInterface.EImage image, int x, int y, float magnification)voiddrawImage(PrimitiveGCInterface.EImage image, int x, int y, float magnification, double angle)voiddrawImage(PrimitiveGCInterface.EImage image, int x, int y, int width, int height, float magnification)voiddrawLine(int x, int y, int x2, int y2)voiddrawPoint(int x, int y)voiddrawPolygon(int[] polygon)voiddrawPolyline(int[] polyline)voiddrawRectangle(int x, int y, int width, int height)voiddrawRoundRectangle(int x, int y, int width, int height, int circleWidth, int circleHeight)voiddrawText(String text, int x, int y)voiddrawText(String text, int x, int y, boolean transparent)voidfillGradientRectangle(int x, int y, int width, int height, boolean vertical)voidfillPolygon(int[] polygon)voidfillRectangle(int x, int y, int width, int height)voidfillRoundRectangle(int x, int y, int width, int height, int circleWidth, int circleHeight)intgetAlpha()PointgetArea()PointgetDeviceBounds()ObjectgetImage()PointgetImageBounds(PrimitiveGCInterface.EImage eImage)voidsetAlpha(int alpha)voidsetAntialias(boolean antiAlias)voidsetBackground(int red, int green, int blue)voidsetBackground(PrimitiveGCInterface.EColor color)voidsetFont(String fontName, int fontSize, boolean fontBold, boolean fontItalic)voidsetFont(PrimitiveGCInterface.EFont font)voidsetForeground(int red, int green, int blue)voidsetForeground(PrimitiveGCInterface.EColor color)voidsetLineStyle(PrimitiveGCInterface.ELineStyle lineStyle)voidsetLineWidth(int width)voidsetTransform(float translationX, float translationY, int shadowsize, float magnification)voidswitchForegroundBackgroundColors()PointtextExtent(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()
-
-