public class TextBlockEmpty extends Object implements TextBlockWidth, TextBlock
Constructor and Description |
---|
TextBlockEmpty() |
TextBlockEmpty(double width,
double height) |
Modifier and Type | Method and Description |
---|---|
TextBlock |
asTextBlock(double widthToUse) |
Dimension2D |
calculateDimension(StringBounder stringBounder) |
void |
drawU(UGraphic ug) |
public TextBlockEmpty(double width, double height)
public TextBlockEmpty()
public Dimension2D calculateDimension(StringBounder stringBounder)
calculateDimension
in interface TextBlock
calculateDimension
in interface TextBlockWidth
public TextBlock asTextBlock(double widthToUse)
asTextBlock
in interface TextBlockWidth
Copyright © 2014. All Rights Reserved.