Logo Search packages:      
Sourcecode: wims version File versions  Download package

rene::zirkel::graphics::MyGraphicsFig Class Reference

Inheritance diagram for rene::zirkel::graphics::MyGraphicsFig:

List of all members.


Detailed Description

This is the Graphics class, you need to implement.

Definition at line 38 of file MyGraphicsFig.java.


Public Member Functions

void clearRect (int x, int y, int w, int h, Color c)
void close ()
void drawArc (double x, double y, double w, double h, double a, double b, ConstructionObject o)
void drawArc (double x, double y, double w, double h, double a, double b)
void drawCircle (double x, double y, double r, ConstructionObject o)
void drawCircleArc (double x, double y, double r, double a, double b, ConstructionObject o)
void drawImage (Image i, double x, double y, double x1, double y1, double x2, double y2, ImageObserver o)
void drawImage (Image i, int x, int y, int w, int h, ImageObserver o)
void drawImage (Image i, int x, int y, ImageObserver o)
void drawLine (double x, double y, double x1, double y1, ConstructionObject o)
void drawLine (double x, double y, double x1, double y1)
void drawOval (double x, double y, double w, double h, ConstructionObject o)
void drawOval (double x, double y, double w, double h)
void drawRect (double x, double y, double w, double h)
void drawString (String s, double x, double y)
int drawStringExtended (String s, double x, double y)
void drawThickLine (double x, double y, double x1, double y1)
void fillArc (double x, double y, double w, double h, double a, double b, boolean outline, boolean transparent, boolean arc, ConstructionObject o)
void fillOval (double x, double y, double w, double h, boolean outline, boolean transparent, ConstructionObject o)
void fillPolygon (double x[], double y[], int n, boolean outline, boolean transparent, ConstructionObject o)
void fillRect (double x, double y, double w, double h, boolean outline, boolean transparent, ConstructionObject o)
FontMetrics getFontMetrics ()
Graphics getGraphics ()
 MyGraphicsFig (PrintWriter out, int w, int h)
void pushLayer (boolean flag)
int pushLayer ()
void setColor (ConstructionObject o)
void setColor (Color c)
void setDefaultFont (int h, boolean large, boolean bold)
void setFillColor (ConstructionObject o)
void setFillcolor (Color c)
void setFont (boolean large, boolean bold)
void setFont (int h, boolean bold)
void setLabelColor (ConstructionObject o)
void setLayer (int n)
void setSize (double w, double h)
int stringAscent (String s)
int stringHeight (String s)
int stringWidth (String s)

Package Functions

void append (double x)
void append (int n)
void append (String s)
String ColorString (Color c)

Package Attributes

int Blue
boolean fbold
int ffactor = Global.getParameter("ffactor",130)
int FigColor = 0
String[] FigColorsArray
int FigFillcolor = 0
StringBuffer FigFirstpart
int FigLastcolor = 31
StringBuffer FigLastpart
int FigLayer = 10000
int FigLinestyle = STYLE_NORMAL
boolean flarge
int fsize
int Green
double H = 1000
MyFontMetrics MFM
PrintWriter Out
boolean PushLayer = true
int Red
int Stroke = STROKE_NORMAL
double W = 1000
int xfactor = 15
int yfactor = 15
int yoffset = 6000

Static Package Attributes

static final int STROKE_NORMAL = 1
static final int STROKE_THICK = 2
static final int STROKE_THIN = 1
static final int STYLE_NORMAL = 0
static final int STYLE_THICK = 0
static final int STYLE_THIN = 1

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index