| Constructor and Description |
|---|
SWTGraphics(org.eclipse.swt.graphics.GC gc,
org.eclipse.jface.resource.ResourceManager resourceManager) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.swt.graphics.Path |
createPath() |
void |
dispose() |
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) |
public SWTGraphics(org.eclipse.swt.graphics.GC gc,
org.eclipse.jface.resource.ResourceManager resourceManager)
public void dispose()
public void setLineAttributes(org.eclipse.swt.graphics.LineAttributes lineAttributes)
setLineAttributes in interface Graphicspublic void drawLine(int x1,
int y1,
int x2,
int y2)
public void fillRectangle(int x,
int y,
int width,
int height)
fillRectangle in interface Graphicspublic void setBackground(org.eclipse.swt.graphics.RGB color)
setBackground in interface Graphicspublic void setForeground(org.eclipse.swt.graphics.RGB color)
setForeground in interface Graphicspublic void setClipping(org.eclipse.swt.graphics.Rectangle rect)
setClipping in interface Graphicspublic void drawRectangle(int x,
int y,
int width,
int height)
drawRectangle in interface Graphicspublic void drawRectangle(org.eclipse.swt.graphics.Rectangle rect)
drawRectangle in interface Graphicspublic org.eclipse.swt.graphics.Path createPath()
createPath in interface Graphicspublic void drawPath(org.eclipse.swt.graphics.Path path)
public void fillRectangle(org.eclipse.swt.graphics.Rectangle rect)
fillRectangle in interface Graphicspublic org.eclipse.swt.graphics.Point textExtent(String string)
textExtent in interface Graphicspublic void setAntialias(boolean state)
setAntialias in interface Graphicspublic org.eclipse.swt.graphics.FontMetrics getFontMetrics()
getFontMetrics in interface Graphicspublic void setFont(org.eclipse.swt.graphics.Font font)
public org.eclipse.jface.resource.ResourceManager getResourceManager()
getResourceManager in interface Graphicspublic void drawRoundRectangle(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight)
drawRoundRectangle in interface Graphicspublic void fillRoundRectangle(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight)
fillRoundRectangle in interface GraphicsCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.