net.sourceforge.plantuml.png
Class PngTitler

java.lang.Object
  extended by net.sourceforge.plantuml.png.PngTitler

public class PngTitler
extends Object


Constructor Summary
PngTitler(HtmlColor textColor, Display text, int fontSize, String fontFamily, HorizontalAlignment horizontalAlignment)
           
 
Method Summary
 double getOffsetX(double imWidth, StringBounder stringBounder)
           
 double getOffsetY(StringBounder stringBounder)
           
 TextBlock getTextBlock()
           
 Dimension2D getTextDimension(StringBounder stringBounder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PngTitler

public PngTitler(HtmlColor textColor,
                 Display text,
                 int fontSize,
                 String fontFamily,
                 HorizontalAlignment horizontalAlignment)
Method Detail

getTextDimension

public Dimension2D getTextDimension(StringBounder stringBounder)

getTextBlock

public TextBlock getTextBlock()

getOffsetX

public double getOffsetX(double imWidth,
                         StringBounder stringBounder)

getOffsetY

public double getOffsetY(StringBounder stringBounder)


Copyright © 2013. All Rights Reserved.