PDF Clown
0.0.8

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

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.SetTextScale

public final class SetTextScale
extends Operation

'Set the horizontal scaling' 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
SetTextScale(double value)
           
SetTextScale(List<PdfDirectObject> operands)
           
 
Method Summary
 void applyTo(ContentScanner.GraphicsState state)
          Applies the object's state to the specified graphics state.
 double getValue()
          Gets the horizontal scale expressed as a percentage of the normal width (100).
 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

SetTextScale

public SetTextScale(double value)

SetTextScale

public SetTextScale(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 horizontal scale expressed as a percentage of the normal width (100).


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.