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, SpriteContainer spriteContainer)
           
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)
           
static TextBlock withMargin(TextBlock textBlock, double marginX1, double marginX2, double marginY1, double marginY2)
           
static TextBlockWidth withMargin(TextBlockWidth textBlock, double marginX, double marginY)
           
static TextBlockWidth withMargin(TextBlockWidth textBlock, double marginX, double marginY1, double marginY2)
           
 
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,
                               SpriteContainer spriteContainer)

withMargin

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

withMargin

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

withMargin

public static TextBlockWidth withMargin(TextBlockWidth textBlock,
                                        double marginX,
                                        double marginY1,
                                        double marginY2)

withMargin

public static TextBlock withMargin(TextBlock textBlock,
                                   double marginX1,
                                   double marginX2,
                                   double marginY1,
                                   double marginY2)

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 © 2012. All Rights Reserved.