Package org.jmol.api
Interface GenericGraphics
public interface GenericGraphics
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
void
drawCircle
(Object g, int x, int y, int diameter) void
drawGrayScaleImage
(Object g, Object image2D, int destX0, int destY0, int destX1, int destY1, int srcX0, int srcY0, int srcX1, int srcY1) void
void
drawPolygon
(Object g, int[] axPoints, int[] ayPoints, int nPoints) void
void
drawString
(Object g, String s, int x, int y) void
drawStringRotated
(Object g, String s, int x, int y, double angle) void
fillBackground
(Object g, GenericColor bgcolor) void
fillCircle
(Object g, int x, int y, int diameter) void
fillPolygon
(Object g, int[] ayPoints, int[] axPoints, int nPoints) void
getColor1
(int argb) getColor3
(int red, int green, int blue) getColor4
(int r, int g, int b, int a) void
newGrayScaleImage
(Object g, Object image, int width, int height, int[] buffer) void
void
setStrokeBold
(Object g, boolean tf) void
setWindowParameters
(int width, int height) void
translateScale
(Object g, double x, double y, double scale)
-
Method Details
-
getColor1
-
getColor3
-
getColor4
-
newGrayScaleImage
-
canDoLineTo
boolean canDoLineTo() -
doStroke
-
drawGrayScaleImage
-
drawLine
-
drawCircle
-
drawPolygon
-
drawRect
-
drawString
-
drawStringRotated
-
fillCircle
-
fillPolygon
-
fillRect
-
fillBackground
-
lineTo
-
setGraphicsColor
-
setFont
-
setStrokeBold
-
translateScale
-
setWindowParameters
void setWindowParameters(int width, int height)
-