|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.stefanochizzolini.clown.documents.contents.objects.ContentObject it.stefanochizzolini.clown.documents.contents.objects.Operation it.stefanochizzolini.clown.documents.contents.objects.TranslateTextRelative
public final class TranslateTextRelative
'Move to the start of the next line, offset from the start of the current line' operation [PDF:1.6:5.2].
Field Summary | |
---|---|
static String |
LeadOperator
Lead parameter setting. |
static String |
SimpleOperator
No side effect. |
Fields inherited from class it.stefanochizzolini.clown.documents.contents.objects.Operation |
---|
operands, operator |
Constructor Summary | |
---|---|
TranslateTextRelative(double offsetX,
double offsetY)
|
|
TranslateTextRelative(double offsetX,
double offsetY,
boolean leadSet)
|
|
TranslateTextRelative(String operator,
List<PdfDirectObject> operands)
|
Method Summary | |
---|---|
void |
applyTo(ContentScanner.GraphicsState state)
Applies the object's state to the specified graphics state. |
double |
getOffsetX()
|
double |
getOffsetY()
|
boolean |
isLeadSet()
Gets whether this operation, as a side effect, sets the leading parameter in the text state. |
void |
setLeadSet(boolean value)
|
void |
setOffsetX(double value)
|
void |
setOffsetY(double value)
|
Methods inherited from class it.stefanochizzolini.clown.documents.contents.objects.Operation |
---|
get, getOperands, getOperator, toString, writeTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String SimpleOperator
public static final String LeadOperator
Constructor Detail |
---|
public TranslateTextRelative(double offsetX, double offsetY)
public TranslateTextRelative(double offsetX, double offsetY, boolean leadSet)
public TranslateTextRelative(String operator, List<PdfDirectObject> operands)
Method Detail |
---|
public void applyTo(ContentScanner.GraphicsState state)
ContentObject
applyTo
in class ContentObject
state
- Content scanner graphics state.public double getOffsetX()
public double getOffsetY()
public boolean isLeadSet()
public void setLeadSet(boolean value)
isLeadSet()
public void setOffsetX(double value)
public void setOffsetY(double value)
|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |