sdljava.ttf
Class GlyphMetrics

java.lang.Object
  extended by sdljava.ttf.GlyphMetrics

public class GlyphMetrics
extends java.lang.Object

The Glyph Metrics of a font.

Version:
$Id: GlyphMetrics.java,v 1.2 2004/12/24 17:32:17 ivan_ganza Exp $
Author:
Ivan Z. Ganza

Field Summary
(package private)  int advance
           
(package private)  int maxx
           
(package private)  int maxy
           
(package private)  int minx
           
(package private)  int miny
           
 
Constructor Summary
GlyphMetrics(int minx, int maxx, int miny, int maxy, int advance)
          Creates a new GlyphMetrics instance.
 
Method Summary
 int getAdvance()
          Gets the value of advance
 int getMaxX()
          Gets the value of maxx
 int getMaxY()
          Gets the value of maxy
 int getMinX()
          Gets the value of minx
 int getMinY()
          Gets the value of miny
 void setAdvance(int argAdvance)
          Sets the value of advance
 void setMaxX(int argMaxx)
          Sets the value of maxx
 void setMaxY(int argMaxy)
          Sets the value of maxy
 void setMinX(int argMinx)
          Sets the value of minx
 void setMinY(int argMiny)
          Sets the value of miny
 java.lang.String toString()
          Return a string represenation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

minx

int minx

maxx

int maxx

miny

int miny

maxy

int maxy

advance

int advance
Constructor Detail

GlyphMetrics

public GlyphMetrics(int minx,
                    int maxx,
                    int miny,
                    int maxy,
                    int advance)
Creates a new GlyphMetrics instance.

Parameters:
minx - an int value
maxx - an int value
miny - an int value
maxy - an int value
advance - an int value
Method Detail

getMinX

public int getMinX()
Gets the value of minx

Returns:
the value of minx

setMinX

public void setMinX(int argMinx)
Sets the value of minx

Parameters:
argMinx - Value to assign to this.minx

getMaxX

public int getMaxX()
Gets the value of maxx

Returns:
the value of maxx

setMaxX

public void setMaxX(int argMaxx)
Sets the value of maxx

Parameters:
argMaxx - Value to assign to this.maxx

getMinY

public int getMinY()
Gets the value of miny

Returns:
the value of miny

setMinY

public void setMinY(int argMiny)
Sets the value of miny

Parameters:
argMiny - Value to assign to this.miny

getMaxY

public int getMaxY()
Gets the value of maxy

Returns:
the value of maxy

setMaxY

public void setMaxY(int argMaxy)
Sets the value of maxy

Parameters:
argMaxy - Value to assign to this.maxy

getAdvance

public int getAdvance()
Gets the value of advance

Returns:
the value of advance

setAdvance

public void setAdvance(int argAdvance)
Sets the value of advance

Parameters:
argAdvance - Value to assign to this.advance

toString

public java.lang.String toString()
Return a string represenation of this object

Overrides:
toString in class java.lang.Object
Returns:
a String represenation of this object