Class FixedScaledGraphics
- java.lang.Object
-
- org.eclipse.draw2d.Graphics
-
- org.eclipse.draw2d.ScaledGraphics
-
- org.eclipse.graphiti.ui.internal.fixed.FixedScaledGraphics
-
public class FixedScaledGraphics extends org.eclipse.draw2d.ScaledGraphics
This class is a subclass of ScaledGraphics, which only purpose is to fix bugs in ScaledGraphics or implement previously not implemented methods. This class does not add any Graphiti specific coding.
-
-
Constructor Summary
Constructors Constructor Description FixedScaledGraphics(org.eclipse.draw2d.Graphics graphics)
Instantiates a new fixed scaled graphics.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clipPath(org.eclipse.swt.graphics.Path path)
void
dispose()
void
drawPath(org.eclipse.swt.graphics.Path path)
void
fillGradient(int x, int y, int w, int h, boolean vertical)
void
fillPath(org.eclipse.swt.graphics.Path path)
boolean
isDisposed()
void
rotate(float degrees)
void
setClip(org.eclipse.swt.graphics.Path path)
void
translate(float dx, float dy)
-
Methods inherited from class org.eclipse.draw2d.ScaledGraphics
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
-
-
-
-
Method Detail
-
isDisposed
public boolean isDisposed()
-
fillGradient
public void fillGradient(int x, int y, int w, int h, boolean vertical)
- Overrides:
fillGradient
in classorg.eclipse.draw2d.ScaledGraphics
-
dispose
public void dispose()
- Overrides:
dispose
in classorg.eclipse.draw2d.ScaledGraphics
-
rotate
public void rotate(float degrees)
- Overrides:
rotate
in classorg.eclipse.draw2d.ScaledGraphics
-
translate
public void translate(float dx, float dy)
- Overrides:
translate
in classorg.eclipse.draw2d.ScaledGraphics
-
drawPath
public void drawPath(org.eclipse.swt.graphics.Path path)
- Overrides:
drawPath
in classorg.eclipse.draw2d.ScaledGraphics
-
fillPath
public void fillPath(org.eclipse.swt.graphics.Path path)
- Overrides:
fillPath
in classorg.eclipse.draw2d.ScaledGraphics
-
clipPath
public void clipPath(org.eclipse.swt.graphics.Path path)
- Overrides:
clipPath
in classorg.eclipse.draw2d.ScaledGraphics
-
setClip
public void setClip(org.eclipse.swt.graphics.Path path)
- Overrides:
setClip
in classorg.eclipse.draw2d.ScaledGraphics
-
-