public class NonOverlappingOutlineConsumer extends Object implements OutlineConsumer
| Constructor and Description |
|---|
NonOverlappingOutlineConsumer(OutlineConsumer oc,
double upem) |
| Modifier and Type | Method and Description |
|---|---|
void |
curveto(double x1,
double y1,
double x2,
double y2)
Called for a quadratic curve.
|
void |
curveto(double x2,
double y2,
double x3,
double y3,
double x4,
double y4)
Called for a cubic curve.
|
void |
endchar()
Called to signal the end of a glyph's outline.
|
int |
getNumErrors() |
void |
lineto(double x,
double y)
Called for a line.
|
void |
moveto(double x,
double y)
Called to set a new currentpoint.
|
void |
reset() |
void |
setMatrix(Matrix newMatrix)
Tells the OutlineConsumer the matrix to be applied to subsequent
points in order to get to a 1 ppem size.
|
public NonOverlappingOutlineConsumer(OutlineConsumer oc, double upem)
public void setMatrix(Matrix newMatrix)
OutlineConsumersetMatrix in interface OutlineConsumerpublic void moveto(double x,
double y)
OutlineConsumermoveto in interface OutlineConsumerx - the x coordinate of the new currentpointy - the y coordinate of the new currentpointpublic void lineto(double x,
double y)
OutlineConsumerx, y). After this call, the currentpoint
should be x,ylineto in interface OutlineConsumerpublic void curveto(double x1,
double y1,
double x2,
double y2)
OutlineConsumerx2, y2),
(x3, y3). After this call, the
currentpoint should be x3, y3.curveto in interface OutlineConsumerpublic void curveto(double x2,
double y2,
double x3,
double y3,
double x4,
double y4)
OutlineConsumerx2, y2),
(x3, y3),
(x4, y4). After this call, the
currentpoint should be x4, y4.curveto in interface OutlineConsumerpublic void reset()
public void endchar()
OutlineConsumerendchar in interface OutlineConsumerpublic int getNumErrors()
Copyright © 2010 - 2020 Adobe. All Rights Reserved