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.ScaledGraphicsThis 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 voidclipPath(org.eclipse.swt.graphics.Path path)voiddispose()voiddrawPath(org.eclipse.swt.graphics.Path path)voidfillGradient(int x, int y, int w, int h, boolean vertical)voidfillPath(org.eclipse.swt.graphics.Path path)booleanisDisposed()voidrotate(float degrees)voidsetClip(org.eclipse.swt.graphics.Path path)voidtranslate(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:
fillGradientin classorg.eclipse.draw2d.ScaledGraphics
-
dispose
public void dispose()
- Overrides:
disposein classorg.eclipse.draw2d.ScaledGraphics
-
rotate
public void rotate(float degrees)
- Overrides:
rotatein classorg.eclipse.draw2d.ScaledGraphics
-
translate
public void translate(float dx, float dy)- Overrides:
translatein classorg.eclipse.draw2d.ScaledGraphics
-
drawPath
public void drawPath(org.eclipse.swt.graphics.Path path)
- Overrides:
drawPathin classorg.eclipse.draw2d.ScaledGraphics
-
fillPath
public void fillPath(org.eclipse.swt.graphics.Path path)
- Overrides:
fillPathin classorg.eclipse.draw2d.ScaledGraphics
-
clipPath
public void clipPath(org.eclipse.swt.graphics.Path path)
- Overrides:
clipPathin classorg.eclipse.draw2d.ScaledGraphics
-
setClip
public void setClip(org.eclipse.swt.graphics.Path path)
- Overrides:
setClipin classorg.eclipse.draw2d.ScaledGraphics
-
-