net.sourceforge.plantuml.graphic
Class TextBlockUtils
java.lang.Object
net.sourceforge.plantuml.graphic.TextBlockUtils
public class TextBlockUtils
- extends Object
Method Summary |
static Positionable |
asPositionable(TextBlock textBlock,
StringBounder stringBounder,
Point2D pt)
|
static TextBlock |
create(Display texts,
FontConfiguration fontConfiguration,
HorizontalAlignement horizontalAlignement,
SpriteContainer spriteContainer)
|
static TextBlock |
empty(double width,
double height)
|
static TextBlock |
fromIEntityImage(IEntityImage image)
|
static TextBlock |
mergeLR(TextBlock b1,
TextBlock b2)
|
static TextBlock |
mergeTB(TextBlock b1,
TextBlock b2,
HorizontalAlignement horizontalAlignement)
|
static TextBlock |
withMargin(TextBlock textBlock,
double marginX,
double marginY)
|
static TextBlock |
withMargin(TextBlock textBlock,
double marginX1,
double marginX2,
double marginY1,
double marginY2)
|
static TextBlock |
withMinWidth(TextBlock textBlock,
double minWidth,
HorizontalAlignement horizontalAlignement)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextBlockUtils
public TextBlockUtils()
create
public static TextBlock create(Display texts,
FontConfiguration fontConfiguration,
HorizontalAlignement horizontalAlignement,
SpriteContainer spriteContainer)
withMargin
public static TextBlock withMargin(TextBlock textBlock,
double marginX,
double marginY)
withMinWidth
public static TextBlock withMinWidth(TextBlock textBlock,
double minWidth,
HorizontalAlignement horizontalAlignement)
withMargin
public static TextBlock withMargin(TextBlock textBlock,
double marginX1,
double marginX2,
double marginY1,
double marginY2)
empty
public static TextBlock empty(double width,
double height)
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,
HorizontalAlignement horizontalAlignement)
Copyright © 2013. All Rights Reserved.