com.itextpdf.tool.xml.svg.graphic
Class Text

java.lang.Object
  extended by com.itextpdf.tool.xml.svg.tags.Graphic
      extended by com.itextpdf.tool.xml.svg.graphic.Text
All Implemented Interfaces:
Element, Writable

public class Text
extends Graphic


Field Summary
 
Fields inherited from class com.itextpdf.tool.xml.svg.tags.Graphic
css
 
Fields inherited from interface com.itextpdf.text.Element
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CHAPTER, CHUNK, CREATIONDATE, CREATOR, DIV, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LIST, LISTITEM, MARKED, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, SECTION, SUBJECT, TITLE, WRITABLE_DIRECT, YMARK
 
Constructor Summary
Text(Chunk chunk, float x, float y, Map<String,String> css, List<Integer> dx, List<Integer> dy)
           
Text(Chunk chunk, Map<String,String> css, List<Integer> dx, List<Integer> dy)
           
 
Method Summary
 void draw(PdfContentByte cb)
           
 void draw(PdfContentByte cb, Map<String,String> css)
           
 Chunk getChunk()
           
 List<Integer> getDx()
           
 List<Integer> getDy()
           
 String getText()
           
 float getX()
           
 float getY()
           
 boolean isRelative()
           
 
Methods inherited from class com.itextpdf.tool.xml.svg.tags.Graphic
getChunks, getCss, isContent, isNestable, process, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.itextpdf.text.Element
toString
 

Constructor Detail

Text

public Text(Chunk chunk,
            Map<String,String> css,
            List<Integer> dx,
            List<Integer> dy)

Text

public Text(Chunk chunk,
            float x,
            float y,
            Map<String,String> css,
            List<Integer> dx,
            List<Integer> dy)
Method Detail

getText

public String getText()

getChunk

public Chunk getChunk()

getX

public float getX()

getY

public float getY()

isRelative

public boolean isRelative()

getDx

public List<Integer> getDx()

getDy

public List<Integer> getDy()

draw

public void draw(PdfContentByte cb,
                 Map<String,String> css)
Overrides:
draw in class Graphic

draw

public void draw(PdfContentByte cb)
Specified by:
draw in class Graphic


Copyright © 2012. All Rights Reserved.