Back to index

wims  3.65+svn20090927
Public Member Functions
rene.zirkel.graphics.MyFontMetrics Class Reference

You need to provide a font measurement system (in x,y coordinates) More...

Inheritance diagram for rene.zirkel.graphics.MyFontMetrics:
Inheritance graph
[legend]
Collaboration diagram for rene.zirkel.graphics.MyFontMetrics:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MyFontMetrics ()
int stringWidth (String s)
int getHeight ()
int getAscent ()

Detailed Description

You need to provide a font measurement system (in x,y coordinates)

Definition at line 15 of file MyGraphicsFig.java.


Constructor & Destructor Documentation

Definition at line 16 of file MyGraphicsFig.java.

{      public MyFontMetrics ()
       {      super(new Font("Courier",10,Font.PLAIN)); // a dummy font.
       }

Member Function Documentation

Definition at line 28 of file MyGraphicsFig.java.

       {      return 2; 
       }

Definition at line 24 of file MyGraphicsFig.java.

       {      return 12; 
       }

Definition at line 20 of file MyGraphicsFig.java.

       {      return s.length()*10; 
       }

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