public class TextBlockRecentred extends AbstractTextBlock
Constructor and Description |
---|
TextBlockRecentred(TextBlock textBlock) |
Modifier and Type | Method and Description |
---|---|
XDimension2D |
calculateDimension(StringBounder stringBounder) |
void |
drawU(UGraphic ug) |
HColor |
getBackcolor() |
MinMax |
getMinMax(StringBounder stringBounder) |
getInnerPosition, getMagneticBorder
public TextBlockRecentred(TextBlock textBlock)
public void drawU(UGraphic ug)
public MinMax getMinMax(StringBounder stringBounder)
getMinMax
in interface TextBlock
getMinMax
in class AbstractTextBlock
public XDimension2D calculateDimension(StringBounder stringBounder)
public HColor getBackcolor()
getBackcolor
in interface TextBlock
getBackcolor
in class AbstractTextBlock