|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfclown.documents.contents.ContentScanner.GraphicsState
public static final class ContentScanner.GraphicsState
Graphics state [PDF:1.6:4.3].
Method Summary | |
---|---|
ContentScanner.GraphicsState |
clone()
Gets a deep copy of the graphics state object. |
void |
copyTo(ContentScanner.GraphicsState state)
Copies this graphics state into the specified one. |
List<BlendModeEnum> |
getBlendMode()
Gets the current blend mode to be used in the transparent imaging model [PDF:1.6:5.2.1]. |
double |
getCharSpace()
Gets the current character spacing [PDF:1.6:5.2.1]. |
AffineTransform |
getCtm()
Gets the current transformation matrix. |
Color<?> |
getFillColor()
Gets the current color for nonstroking operations [PDF:1.6:4.5.1]. |
ColorSpace<?> |
getFillColorSpace()
Gets the current color space for nonstroking operations [PDF:1.6:4.5.1]. |
Font |
getFont()
Gets the current font [PDF:1.6:5.2]. |
double |
getFontSize()
Gets the current font size [PDF:1.6:5.2]. |
AffineTransform |
getInitialCtm()
Gets the initial current transformation matrix. |
double |
getLead()
Gets the current leading [PDF:1.6:5.2.4]. |
LineCapEnum |
getLineCap()
Gets the current line cap style [PDF:1.6:4.3.2]. |
LineDash |
getLineDash()
Gets the current line dash pattern [PDF:1.6:4.3.2]. |
LineJoinEnum |
getLineJoin()
Gets the current line join style [PDF:1.6:4.3.2]. |
double |
getLineWidth()
Gets the current line width [PDF:1.6:4.3.2]. |
double |
getMiterLimit()
Gets the current miter limit [PDF:1.6:4.3.2]. |
TextRenderModeEnum |
getRenderMode()
Gets the current text rendering mode [PDF:1.6:5.2.5]. |
double |
getRise()
Gets the current text rise [PDF:1.6:5.2.6]. |
double |
getScale()
Gets the current horizontal scaling [PDF:1.6:5.2.3]. |
ContentScanner |
getScanner()
Gets the scanner associated to this state. |
Color<?> |
getStrokeColor()
Gets the current color for stroking operations [PDF:1.6:4.5.1]. |
ColorSpace<?> |
getStrokeColorSpace()
Gets the current color space for stroking operations [PDF:1.6:4.5.1]. |
AffineTransform |
getTlm()
Gets the current text line matrix [PDF:1.6:5.3]. |
AffineTransform |
getTm()
Gets the current text matrix [PDF:1.6:5.3]. |
double |
getWordSpace()
Gets the current word spacing [PDF:1.6:5.2.2]. |
void |
setBlendMode(List<BlendModeEnum> value)
|
void |
setCharSpace(double value)
|
void |
setCtm(AffineTransform value)
|
void |
setFillColor(Color<?> value)
|
void |
setFillColorSpace(ColorSpace<?> value)
|
void |
setFont(Font value)
|
void |
setFontSize(double value)
|
void |
setLead(double value)
|
void |
setLineCap(LineCapEnum value)
|
void |
setLineDash(LineDash value)
|
void |
setLineJoin(LineJoinEnum value)
|
void |
setLineWidth(double value)
|
void |
setMiterLimit(double value)
|
void |
setRenderMode(TextRenderModeEnum value)
|
void |
setRise(double value)
|
void |
setScale(double value)
|
void |
setStrokeColor(Color<?> value)
|
void |
setStrokeColorSpace(ColorSpace<?> value)
|
void |
setTlm(AffineTransform value)
|
void |
setTm(AffineTransform value)
|
void |
setWordSpace(double value)
|
Point2D |
textToDeviceSpace(Point2D point)
Resolves the given text-space point to its equivalent device-space one [PDF:1.6:5.3.3], expressed in standard PDF coordinate system (lower-left origin). |
Point2D |
textToDeviceSpace(Point2D point,
boolean topDown)
Resolves the given text-space point to its equivalent device-space one [PDF:1.6:5.3.3]. |
Point2D |
userToDeviceSpace(Point2D point)
Resolves the given user-space point to its equivalent device-space one [PDF:1.6:4.2.3], expressed in standard PDF coordinate system (lower-left origin). |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public ContentScanner.GraphicsState clone()
clone
in class Object
public void copyTo(ContentScanner.GraphicsState state)
state
- Target graphics state object.public List<BlendModeEnum> getBlendMode()
The application should use the first blend mode in the list that it recognizes.
public double getCharSpace()
public AffineTransform getCtm()
public Color<?> getFillColor()
public ColorSpace<?> getFillColorSpace()
public Font getFont()
public double getFontSize()
public AffineTransform getInitialCtm()
public double getLead()
public LineCapEnum getLineCap()
public LineDash getLineDash()
public LineJoinEnum getLineJoin()
public double getLineWidth()
public double getMiterLimit()
public TextRenderModeEnum getRenderMode()
public double getRise()
public double getScale()
public ContentScanner getScanner()
public Color<?> getStrokeColor()
public ColorSpace<?> getStrokeColorSpace()
public AffineTransform getTlm()
public AffineTransform getTm()
public double getWordSpace()
public void setBlendMode(List<BlendModeEnum> value)
getBlendMode()
public void setCharSpace(double value)
getCharSpace()
public void setCtm(AffineTransform value)
getCtm()
public void setFillColor(Color<?> value)
getFillColor()
public void setFillColorSpace(ColorSpace<?> value)
getFillColorSpace()
public void setFont(Font value)
getFont()
public void setFontSize(double value)
getFontSize()
public void setLead(double value)
getLead()
public void setLineCap(LineCapEnum value)
getLineCap()
public void setLineDash(LineDash value)
getLineDash()
public void setLineJoin(LineJoinEnum value)
getLineJoin()
public void setLineWidth(double value)
getLineWidth()
public void setMiterLimit(double value)
getMiterLimit()
public void setRenderMode(TextRenderModeEnum value)
getRenderMode()
public void setRise(double value)
getRise()
public void setScale(double value)
getScale()
public void setStrokeColor(Color<?> value)
getStrokeColor()
public void setStrokeColorSpace(ColorSpace<?> value)
getStrokeColorSpace()
public void setTlm(AffineTransform value)
getTlm()
public void setTm(AffineTransform value)
getTm()
public void setWordSpace(double value)
getWordSpace()
public Point2D textToDeviceSpace(Point2D point)
point
- Point to transform.public Point2D textToDeviceSpace(Point2D point, boolean topDown)
point
- Point to transform.topDown
- Whether the y-axis orientation has to be adjusted to common top-down orientation
rather than standard PDF coordinate system (bottom-up).public Point2D userToDeviceSpace(Point2D point)
point
- Point to transform.
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |