PDF Clown
0.0.8

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

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

public final class SetFont
extends Operation

'Set the text font' 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
SetFont(List<PdfDirectObject> operands)
           
SetFont(PdfName name, double size)
           
 
Method Summary
 void applyTo(ContentScanner.GraphicsState state)
          Applies the object's state to the specified graphics state.
 PdfName getName()
           
 double getSize()
           
 void setName(PdfName value)
           
 void setSize(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

SetFont

public SetFont(PdfName name,
               double size)

SetFont

public SetFont(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.

getName

public PdfName getName()

getSize

public double getSize()

setName

public void setName(PdfName value)
Since:
0.0.6

setSize

public void setSize(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.