| java.lang.Object com.sun.pdfview.PDFCmd com.sun.pdfview.PDFShapeCmd
PDFShapeCmd | public class PDFShapeCmd extends PDFCmd (Code) | | Encapsulates a path. Also contains extra fields and logic to check
for consecutive abutting anti-aliased regions. We stroke the shared
line between these regions again with a 1-pixel wide line so that
the background doesn't show through between them.
author: Mike Wessler |
Constructor Summary | |
public | PDFShapeCmd(GeneralPath gp, int style) create a new PDFShapeCmd and check it against the previous one
to find any shared edges.
Parameters: gp - the path Parameters: style - the style: an OR of STROKE, FILL, or CLIP. |
BOTH | final public static int BOTH(Code) | | perform both stroke and fill
|
CLIP | final public static int CLIP(Code) | | set the clip region to the path
|
FILL | final public static int FILL(Code) | | fill the path with the fill paint
|
STROKE | final public static int STROKE(Code) | | stroke the outline of the path with the stroke paint
|
againstroke | BasicStroke againstroke(Code) | | the stroke style for the anti-antialias stroke
|
PDFShapeCmd | public PDFShapeCmd(GeneralPath gp, int style)(Code) | | create a new PDFShapeCmd and check it against the previous one
to find any shared edges.
Parameters: gp - the path Parameters: style - the style: an OR of STROKE, FILL, or CLIP. As aconvenience, BOTH = STROKE | FILL. |
getDetails | public String getDetails()(Code) | | Get detailed information about this shape
|
|
|