org.extex.font.format.xtf.tables
Class XtfGlyph.Point

java.lang.Object
  extended by org.extex.font.format.xtf.tables.XtfGlyph.Point
Enclosing class:
XtfGlyph

public class XtfGlyph.Point
extends java.lang.Object

Points.

At the lowest level, each glyph in a TrueType font is described by a sequence of points on a grid. (see Chap01)


Constructor Summary
XtfGlyph.Point(int ax, int ay, boolean aonCurve, boolean aendOfContour)
          Create a new object.
 
Method Summary
 int getX()
          Returns the x.
 int getY()
          Returns the y.
 boolean isEndOfContour()
          Returns the endOfContour.
 boolean isOnCurve()
          Returns the onCurve.
 boolean isTouched()
          Returns the touched.
 void setEndOfContour(boolean aendOfContour)
           
 void setOnCurve(boolean aonCurve)
           
 void setTouched(boolean atouched)
           
 void setX(int ax)
           
 void setY(int ay)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XtfGlyph.Point

public XtfGlyph.Point(int ax,
                      int ay,
                      boolean aonCurve,
                      boolean aendOfContour)
Create a new object.

Parameters:
ax - the x
ay - the y
aonCurve - on curve
aendOfContour - end of contour
Method Detail

isEndOfContour

public boolean isEndOfContour()
Returns the endOfContour.

Returns:
Returns the endOfContour.

isOnCurve

public boolean isOnCurve()
Returns the onCurve.

Returns:
Returns the onCurve.

isTouched

public boolean isTouched()
Returns the touched.

Returns:
Returns the touched.

getX

public int getX()
Returns the x.

Returns:
Returns the x.

getY

public int getY()
Returns the y.

Returns:
Returns the y.

setEndOfContour

public void setEndOfContour(boolean aendOfContour)
Parameters:
aendOfContour - The endOfContour to set.

setOnCurve

public void setOnCurve(boolean aonCurve)
Parameters:
aonCurve - The onCurve to set.

setTouched

public void setTouched(boolean atouched)
Parameters:
atouched - The touched to set.

setX

public void setX(int ax)
Parameters:
ax - The x to set.

setY

public void setY(int ay)
Parameters:
ay - The y to set.