net.sourceforge.plantuml.graphic
Class TextBlockUtils

java.lang.Object
  extended by net.sourceforge.plantuml.graphic.TextBlockUtils

public class TextBlockUtils
extends Object


Constructor Summary
TextBlockUtils()
           
 
Method Summary
static Positionable asPositionable(TextBlock textBlock, StringBounder stringBounder, Point2D pt)
           
static TextBlock create(List<? extends CharSequence> texts, FontConfiguration fontConfiguration, HorizontalAlignement horizontalAlignement)
           
static TextBlock fromIEntityImage(IEntityImage image)
           
static TextBlock mergeLR(TextBlock b1, TextBlock b2)
           
static TextBlock mergeTB(TextBlock b1, TextBlock b2)
           
static TextBlock withMargin(TextBlock textBlock, double marginX, double marginY)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextBlockUtils

public TextBlockUtils()
Method Detail

create

public static TextBlock create(List<? extends CharSequence> texts,
                               FontConfiguration fontConfiguration,
                               HorizontalAlignement horizontalAlignement)

withMargin

public static TextBlock withMargin(TextBlock textBlock,
                                   double marginX,
                                   double marginY)

asPositionable

public static Positionable asPositionable(TextBlock textBlock,
                                          StringBounder stringBounder,
                                          Point2D pt)

fromIEntityImage

public static TextBlock fromIEntityImage(IEntityImage image)

mergeLR

public static TextBlock mergeLR(TextBlock b1,
                                TextBlock b2)

mergeTB

public static TextBlock mergeTB(TextBlock b1,
                                TextBlock b2)


Copyright © 2011. All Rights Reserved.