public class ComponentTextShape extends AbstractComponentText
Constructor and Description |
---|
ComponentTextShape(ComponentType type,
Display stringsToDisplay,
AsciiShape shape) |
Modifier and Type | Method and Description |
---|---|
void |
drawU(UGraphic ug,
Area area,
Context2D context) |
double |
getPreferredHeight(StringBounder stringBounder) |
double |
getPreferredWidth(StringBounder stringBounder) |
getPreferredDimension
public ComponentTextShape(ComponentType type, Display stringsToDisplay, AsciiShape shape)
public double getPreferredHeight(StringBounder stringBounder)
public double getPreferredWidth(StringBounder stringBounder)
Copyright © 2017. All Rights Reserved.