public class Draw2DGraphics
extends java.lang.Object
| Constructor and Description |
|---|
Draw2DGraphics(org.eclipse.draw2d.Graphics g) |
| Modifier and Type | Method and Description |
|---|---|
Path |
createPath() |
void |
drawLine(int x1,
int y1,
int x2,
int y2) |
void |
drawPath(Path path) |
void |
drawRectangle(int x,
int y,
int width,
int height) |
void |
drawRectangle(Rectangle rect) |
void |
drawText(java.lang.String string,
int x,
int y,
java.lang.Float rotate) |
void |
fillRectangle(int x,
int y,
int width,
int height) |
void |
fillRectangle(Rectangle rect) |
FontMetrics |
getFontMetrics() |
Color |
getSystemColor(int color) |
void |
setAlpha(int alpha) |
void |
setAntialias(boolean state) |
void |
setBackground(Color color) |
void |
setClipping(Rectangle rect) |
void |
setForeground(Color color) |
void |
setLineAttributes(LineAttributes lineAttributes) |
Point |
textExtent(java.lang.String string) |
public void setAlpha(int alpha)
public void setLineAttributes(LineAttributes lineAttributes)
public void drawLine(int x1,
int y1,
int x2,
int y2)
public void fillRectangle(int x,
int y,
int width,
int height)
public Color getSystemColor(int color)
public void setForeground(Color color)
public void setBackground(Color color)
public void setClipping(Rectangle rect)
public void drawRectangle(int x,
int y,
int width,
int height)
public void drawRectangle(Rectangle rect)
public Path createPath()
public void drawPath(Path path)
public void fillRectangle(Rectangle rect)
public void drawText(java.lang.String string,
int x,
int y,
java.lang.Float rotate)
public Point textExtent(java.lang.String string)
public FontMetrics getFontMetrics()
public void setAntialias(boolean state)
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0