gnu.java.awt.font.opentype.truetype

Class Zone


public final class Zone
extends Object

A collection of points with some additional information.

Field Summary

double
scaleX
double
scaleY
double
shearX
double
shearY

Constructor Summary

Zone(int maxNumPoints)

Method Summary

int
getCapacity()
int
getContourEnd(int n)
int
getNumContours()
Returns the number of contours in this outline.
int
getOriginalX(int point)
int
getOriginalY(int point)
GeneralPath
getPath(int type)
PathIterator
getPathIterator(int type)
Point[]
getPoints()
int
getSize()
int
getX(int point)
int
getX(int point, int flags)
int
getY(int point)
int
getY(int point, int flags)
boolean
isContourEnd(int point)
boolean
isOnCurve(int point)
void
setContourEnd(int point, boolean segEnd)
void
setNumPoints(int numPoints)
void
setOnCurve(int point, boolean onCurve)
void
setOriginalX(int point, int x)
void
setOriginalY(int point, int y)
void
setX(int point, int value, boolean touch)
void
setY(int point, int value, boolean touch)

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Details

scaleX

public double scaleX

scaleY

public double scaleY

shearX

public double shearX

shearY

public double shearY

Constructor Details

Zone

public Zone(int maxNumPoints)

Method Details

getCapacity

public int getCapacity()

getContourEnd

public int getContourEnd(int n)

getNumContours

public int getNumContours()
Returns the number of contours in this outline.
Returns:
the number of contours in this outline

getOriginalX

public int getOriginalX(int point)

getOriginalY

public int getOriginalY(int point)

getPath

public GeneralPath getPath(int type)

getPathIterator

public PathIterator getPathIterator(int type)

getPoints

public Point[] getPoints()

getSize

public int getSize()

getX

public int getX(int point)

getX

public int getX(int point,
                int flags)

getY

public int getY(int point)

getY

public int getY(int point,
                int flags)

isContourEnd

public boolean isContourEnd(int point)

isOnCurve

public boolean isOnCurve(int point)

setContourEnd

public void setContourEnd(int point,
                          boolean segEnd)

setNumPoints

public void setNumPoints(int numPoints)

setOnCurve

public void setOnCurve(int point,
                       boolean onCurve)

setOriginalX

public void setOriginalX(int point,
                         int x)

setOriginalY

public void setOriginalY(int point,
                         int y)

setX

public void setX(int point,
                 int value,
                 boolean touch)

setY

public void setY(int point,
                 int value,
                 boolean touch)

Zone.java -- A collection of points with some additional information. Copyright (C) 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.