public interface Graphics
GC
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.Path |
createPath() |
void |
drawLine(int x1,
int y1,
int x2,
int y2) |
void |
drawPath(org.eclipse.swt.graphics.Path path) |
void |
drawRectangle(int x,
int y,
int width,
int height) |
void |
drawRectangle(org.eclipse.swt.graphics.Rectangle rect) |
void |
drawRoundRectangle(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight) |
void |
drawText(String string,
int x,
int y,
Float rotate) |
void |
fillRectangle(int x,
int y,
int width,
int height) |
void |
fillRectangle(org.eclipse.swt.graphics.Rectangle rect) |
void |
fillRoundRectangle(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight) |
org.eclipse.swt.graphics.FontMetrics |
getFontMetrics() |
org.eclipse.jface.resource.ResourceManager |
getResourceManager() |
void |
setAlpha(int alpha) |
void |
setAntialias(boolean state) |
void |
setBackground(org.eclipse.swt.graphics.RGB color) |
void |
setClipping(org.eclipse.swt.graphics.Rectangle rect) |
void |
setFont(org.eclipse.swt.graphics.Font font) |
void |
setForeground(org.eclipse.swt.graphics.RGB color) |
void |
setLineAttributes(org.eclipse.swt.graphics.LineAttributes lineAttributes) |
org.eclipse.swt.graphics.Point |
textExtent(String string) |
void setAlpha(int alpha)
void setLineAttributes(org.eclipse.swt.graphics.LineAttributes lineAttributes)
void drawLine(int x1, int y1, int x2, int y2)
void fillRectangle(int x, int y, int width, int height)
void setForeground(org.eclipse.swt.graphics.RGB color)
void setBackground(org.eclipse.swt.graphics.RGB color)
void setClipping(org.eclipse.swt.graphics.Rectangle rect)
void drawRectangle(int x, int y, int width, int height)
void drawRectangle(org.eclipse.swt.graphics.Rectangle rect)
org.eclipse.swt.graphics.Path createPath()
void drawPath(org.eclipse.swt.graphics.Path path)
void fillRectangle(org.eclipse.swt.graphics.Rectangle rect)
void fillRoundRectangle(int x, int y, int width, int height, int arcWidth, int arcHeight)
void drawRoundRectangle(int x, int y, int width, int height, int arcWidth, int arcHeight)
org.eclipse.swt.graphics.Point textExtent(String string)
void setAntialias(boolean state)
void setFont(org.eclipse.swt.graphics.Font font)
org.eclipse.swt.graphics.FontMetrics getFontMetrics()
org.eclipse.jface.resource.ResourceManager getResourceManager()
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.