public class FixedScaledGraphics
extends org.eclipse.draw2d.ScaledGraphics
Constructor and Description |
---|
FixedScaledGraphics(org.eclipse.draw2d.Graphics graphics)
Instantiates a new fixed scaled graphics.
|
Modifier and Type | Method and Description |
---|---|
void |
clipPath(Path path) |
void |
dispose() |
void |
drawPath(Path path) |
void |
fillGradient(int x,
int y,
int w,
int h,
boolean vertical) |
void |
fillPath(Path path) |
boolean |
isDisposed() |
void |
rotate(float degrees) |
void |
setClip(Path path) |
void |
translate(float dx,
float dy) |
clipRect, drawArc, drawFocus, drawImage, drawImage, drawLine, drawOval, drawPoint, drawPolygon, drawPolygon, drawPolyline, drawPolyline, drawRectangle, drawRoundRectangle, drawString, drawText, drawText, drawTextLayout, fillArc, fillOval, fillPolygon, fillPolygon, fillRectangle, fillRoundRectangle, fillString, fillText, getAbsoluteScale, getAdvanced, getAlpha, getAntialias, getBackgroundColor, getClip, getFillRule, getFont, getFontMetrics, getForegroundColor, getInterpolation, getLineAttributes, getLineCap, getLineJoin, getLineMiterLimit, getLineStyle, getLineWidth, getLineWidthFloat, getTextAntialias, getXORMode, popState, pushState, restoreState, scale, setAdvanced, setAlpha, setAntialias, setBackgroundColor, setBackgroundPattern, setClip, setFillRule, setFont, setForegroundColor, setForegroundPattern, setInterpolation, setLineAttributes, setLineCap, setLineDash, setLineDash, setLineDashOffset, setLineJoin, setLineMiterLimit, setLineStyle, setLineWidth, setLineWidthFloat, setTextAntialias, setXORMode, translate
public FixedScaledGraphics(org.eclipse.draw2d.Graphics graphics)
graphics
- the graphicspublic boolean isDisposed()
public void fillGradient(int x, int y, int w, int h, boolean vertical)
fillGradient
in class org.eclipse.draw2d.ScaledGraphics
public void dispose()
dispose
in class org.eclipse.draw2d.ScaledGraphics
public void rotate(float degrees)
rotate
in class org.eclipse.draw2d.ScaledGraphics
public void translate(float dx, float dy)
translate
in class org.eclipse.draw2d.ScaledGraphics
public void drawPath(Path path)
drawPath
in class org.eclipse.draw2d.ScaledGraphics
public void fillPath(Path path)
fillPath
in class org.eclipse.draw2d.ScaledGraphics
public void clipPath(Path path)
clipPath
in class org.eclipse.draw2d.ScaledGraphics
public void setClip(Path path)
setClip
in class org.eclipse.draw2d.ScaledGraphics