PDF Clown
0.0.8

it.stefanochizzolini.clown.documents.contents.objects
Class SetTextLead

java.lang.Object
  extended by it.stefanochizzolini.clown.documents.contents.objects.ContentObject
      extended by it.stefanochizzolini.clown.documents.contents.objects.Operation
          extended by it.stefanochizzolini.clown.documents.contents.objects.SetTextLead

public final class SetTextLead
extends Operation

'Set the text leading' operation [PDF:1.6:5.2].

Since:
0.0.4
Version:
0.0.8
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Field Summary
static String Operator
           
 
Fields inherited from class it.stefanochizzolini.clown.documents.contents.objects.Operation
operands, operator
 
Constructor Summary
SetTextLead(double value)
           
SetTextLead(List<PdfDirectObject> operands)
           
 
Method Summary
 void applyTo(ContentScanner.GraphicsState state)
          Applies the object's state to the specified graphics state.
 double getValue()
          Gets the text leading, which is a number expressed in unscaled text space units.
 void setValue(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

Operator

public static final String Operator
See Also:
Constant Field Values
Constructor Detail

SetTextLead

public SetTextLead(double value)

SetTextLead

public SetTextLead(List<PdfDirectObject> operands)
Method Detail

applyTo

public void applyTo(ContentScanner.GraphicsState state)
Description copied from class: ContentObject
Applies the object's state to the specified graphics state.

Overrides:
applyTo in class ContentObject
Parameters:
state - Content scanner graphics state.

getValue

public double getValue()
Gets the text leading, which is a number expressed in unscaled text space units.


setValue

public void setValue(double value)
Since:
0.0.6

PDF Clown
0.0.8

Project home page

Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.