public class TextBlockWidthAdapter extends Object implements TextBlockWidth
| Constructor and Description |
|---|
TextBlockWidthAdapter(TextBlock textBlock,
double widthToUse) |
| Modifier and Type | Method and Description |
|---|---|
TextBlock |
asTextBlock(double widthToUse) |
Dimension2D |
calculateDimension(StringBounder stringBounder) |
void |
drawU(UGraphic ug) |
public TextBlockWidthAdapter(TextBlock textBlock, double widthToUse)
public void drawU(UGraphic ug)
public Dimension2D calculateDimension(StringBounder stringBounder)
calculateDimension in interface TextBlockWidthpublic TextBlock asTextBlock(double widthToUse)
asTextBlock in interface TextBlockWidthCopyright © 2017. All rights reserved.