The GraphicsX Class of the com.ms.awt package provides a graphics implementation specifically for the Microsoft VM. This class is not used directly in applets or applications, and is not cross-platform.
public class GraphicsX extends FxGraphics implements PeerConstants, PaintSurface { // Constructors public GraphicsX(int hdc); // Methods public void drawCharsWithoutFxFont(char data[], int offset, int length, int x, int y, Rectangle optionRect, int options, int dx[], int dy[]); public void drawNativeEdge(int X, int Y, int W, int H, int edges, int flags); public void drawNativeFocusRect(int X, int Y, int W, int H, Color bkColor) public void drawOutlinePolygon(int xOrig, int yOrig, OutlinePolygon op); public void drawPixels(int[] pels, int len); public void drawScanLines(boolean xChanging, int[] points, int offset, int nPoints); public void drawStringWithoutFxFont(String str,int x, int y, Rectangle optionRect, int options, int[] dx,int[] dy); public Device getDevice() throws DeviceException; public int gethdc(); public Point getTranslation(); public void setTextBackgroundColor(Color c); }
The GraphicsX methods are implemented only for the Microsoft virtual machine. All other graphics methods are defined in the com.ms.fx.FxGraphics class and the java.awt.Graphics class.
FxGraphics | +--GraphicsX