info.informatica.doc.style.css.j2d
Class Java2DRenderer
java.lang.Object
info.informatica.doc.style.css.j2d.Java2DRenderer
public class Java2DRenderer
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Java2DRenderer
public Java2DRenderer()
setDocument
public void setDocument(XHTMLDocument xdoc)
throws CSSStyleException
- Throws:
CSSStyleException
paint
public void paint(Graphics2D g2)
drawStaticBlockBox
protected void drawStaticBlockBox(Graphics2D g2,
CSSContainerBox box,
float x,
float initialY)
drawInlineBox
protected float drawInlineBox(Graphics2D g2,
CSSInlineBox box,
float x,
float y)
createFont
public static Font createFont(CSS2ComputedProperties styledecl)
configureGraphics
public static void configureGraphics(Graphics2D g2,
CSSContainerBox box)
getWidth
public float getWidth()
getHeight
public float getHeight()
Copyright © 2011 informatica.info. All Rights Reserved.