public class PDFGStateStack
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PDFGStateStack.GState
An inner class for GStates.
|
Constructor and Description |
---|
PDFGStateStack()
Creates a new PDF graphics state stack.
|
Modifier and Type | Method and Description |
---|---|
RMColor |
getFillColor()
Returns the fill color.
|
float |
getFillOpacity()
Returns the fill opacity.
|
PDFGStateStack.GState |
getGState()
Returns the current gstate.
|
int |
getLineCap()
Returns the line cap.
|
int |
getLineJoin()
Returns the line join.
|
float |
getShapeOpacity()
Returns the shape opacity.
|
int |
getStackSize()
Returns the stack size.
|
RMColor |
getStrokeColor()
Returns the stroke color.
|
float |
getStrokeOpacity()
Returns the stroke opacity.
|
float |
getStrokeWidth()
Returns the stroke width.
|
void |
grestore()
Restores the last graphics state of the writer.
|
void |
gsave()
Saves the current graphics state of the writer.
|
void |
setFillColor(RMColor aColor)
Sets the fill color.
|
void |
setFillOpacity(float anOpacity)
Sets the fill opacity.
|
void |
setLineCap(int aLineCap)
Sets the line cap.
|
void |
setLineJoin(int aLineJoin)
Sets the line join.
|
void |
setShapeOpacity(float anOpacity)
Sets the shape opacity.
|
void |
setStrokeColor(RMColor aColor)
Sets the stroke color.
|
void |
setStrokeOpacity(float anOpacity)
Sets the stroke opacity.
|
void |
setStrokeWidth(float aWidth)
Sets the stroke width.
|
public PDFGStateStack.GState getGState()
public void gsave()
public void grestore()
public RMColor getFillColor()
public void setFillColor(RMColor aColor)
public RMColor getStrokeColor()
public void setStrokeColor(RMColor aColor)
public float getStrokeWidth()
public void setStrokeWidth(float aWidth)
public int getLineCap()
public void setLineCap(int aLineCap)
public int getLineJoin()
public void setLineJoin(int aLineJoin)
public float getFillOpacity()
public void setFillOpacity(float anOpacity)
public float getStrokeOpacity()
public void setStrokeOpacity(float anOpacity)
public float getShapeOpacity()
public void setShapeOpacity(float anOpacity)
public int getStackSize()