Package com.inductiveautomation.rm.rm2d
Class AbstractGraphics2D
java.lang.Object
java.awt.Graphics
java.awt.Graphics2D
com.inductiveautomation.rm.rm2d.AbstractGraphics2D
- Direct Known Subclasses:
RMGraphics2D
Class contains properties and methods not particular to ReportMill. In theory, the properties and methods in this
class could be use as a base to create a different implementation of Graphics2D.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRenderingHints(Map hints) voiddrawLine(int x1, int y1, int x2, int y2) voiddrawString(String str, int x, int y) getColor()getFont()getPaint()getRenderingHint(RenderingHints.Key hintKey) voidrotate(double theta) voidrotate(double theta, double x, double y) voidscale(double scaleX, double scaleY) voidsetBackground(Color color) voidvoidsetComposite(Composite composite) voidvoidvoidsetRenderingHint(RenderingHints.Key hintKey, Object hintValue) voidsetRenderingHints(Map<?, ?> hints) voidvoidsetTransform(AffineTransform transform) voidshear(double shearX, double shearY) protected voidthrowException(String text) voidtransform(AffineTransform transform) voidtranslate(double tx, double ty) voidtranslate(int x, int y) Methods inherited from class java.awt.Graphics2D
clip, draw, draw3DRect, drawGlyphVector, drawImage, drawImage, drawRenderableImage, drawRenderedImage, drawString, drawString, drawString, fill, fill3DRect, hitMethods inherited from class java.awt.Graphics
clearRect, clipRect, copyArea, create, create, dispose, drawArc, drawBytes, drawChars, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawOval, drawPolygon, drawPolygon, drawPolyline, drawRect, drawRoundRect, fillArc, fillOval, fillPolygon, fillPolygon, fillRect, fillRoundRect, finalize, getClip, getClipBounds, getClipBounds, getClipRect, getFontMetrics, hitClip, setClip, setClip, setPaintMode, setXORMode, toString
-
Field Details
-
log
-
composite
-
font
-
fmg
-
-
Method Details
-
drawString
- Specified by:
drawStringin classGraphics2D
-
getDeviceConfiguration
- Specified by:
getDeviceConfigurationin classGraphics2D
-
setComposite
- Specified by:
setCompositein classGraphics2D
-
getComposite
- Specified by:
getCompositein classGraphics2D
-
setPaint
- Specified by:
setPaintin classGraphics2D
-
getPaint
- Specified by:
getPaintin classGraphics2D
-
setColor
-
getColor
-
setStroke
- Specified by:
setStrokein classGraphics2D
-
getStroke
- Specified by:
getStrokein classGraphics2D
-
setRenderingHint
- Specified by:
setRenderingHintin classGraphics2D
-
getRenderingHint
- Specified by:
getRenderingHintin classGraphics2D
-
setRenderingHints
- Specified by:
setRenderingHintsin classGraphics2D
-
addRenderingHints
- Specified by:
addRenderingHintsin classGraphics2D
-
getRenderingHints
- Specified by:
getRenderingHintsin classGraphics2D
-
translate
public void translate(int x, int y) - Specified by:
translatein classGraphics2D
-
translate
public void translate(double tx, double ty) - Specified by:
translatein classGraphics2D
-
rotate
public void rotate(double theta) - Specified by:
rotatein classGraphics2D
-
rotate
public void rotate(double theta, double x, double y) - Specified by:
rotatein classGraphics2D
-
scale
public void scale(double scaleX, double scaleY) - Specified by:
scalein classGraphics2D
-
shear
public void shear(double shearX, double shearY) - Specified by:
shearin classGraphics2D
-
transform
- Specified by:
transformin classGraphics2D
-
setTransform
- Specified by:
setTransformin classGraphics2D
-
getTransform
- Specified by:
getTransformin classGraphics2D
-
setBackground
- Specified by:
setBackgroundin classGraphics2D
-
getBackground
- Specified by:
getBackgroundin classGraphics2D
-
getFontRenderContext
- Specified by:
getFontRenderContextin classGraphics2D
-
getFont
-
setFont
-
getFontMetrics
- Specified by:
getFontMetricsin classGraphics
-
drawLine
public void drawLine(int x1, int y1, int x2, int y2) -
throwException
-