|
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.objects.ContentObject
org.pdfclown.documents.contents.objects.Operation
org.pdfclown.documents.contents.objects.TranslateTextRelative
@PDF(value=PDF10) 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 org.pdfclown.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 | |
---|---|
double |
getOffsetX()
|
double |
getOffsetY()
|
boolean |
isLeadSet()
Gets whether this operation, as a side effect, sets the leading parameter in the text state. |
void |
scan(ContentScanner.GraphicsState state)
Applies this object to the specified graphics context, updating the specified graphics state. |
void |
setLeadSet(boolean value)
|
void |
setOffsetX(double value)
|
void |
setOffsetY(double value)
|
Methods inherited from class org.pdfclown.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 double getOffsetX()
public double getOffsetY()
public boolean isLeadSet()
public void scan(ContentScanner.GraphicsState state)
ContentObject
scan
in class ContentObject
state
- Graphics state.public void setLeadSet(boolean value)
isLeadSet()
public void setOffsetX(double value)
public void setOffsetY(double value)
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |