Package net.sourceforge.plantuml.graphic
Class CircledCharacter
- java.lang.Object
-
- net.sourceforge.plantuml.graphic.AbstractTextBlock
-
- net.sourceforge.plantuml.graphic.CircledCharacter
-
public class CircledCharacter extends AbstractTextBlock implements TextBlock
-
-
Constructor Summary
Constructors Constructor Description CircledCharacter(char c, double radius, UFont font, HColor spotBackColor, HColor spotBorder, HColor fontColor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dimension2D
calculateDimension(StringBounder stringBounder)
void
drawU(UGraphic ug)
double
getPreferredHeight(StringBounder stringBounder)
double
getPreferredWidth(StringBounder stringBounder)
-
Methods inherited from class net.sourceforge.plantuml.graphic.AbstractTextBlock
getInnerPosition, getMinMax
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.graphic.TextBlock
getInnerPosition, getMinMax
-
-
-
-
Method Detail
-
getPreferredWidth
public final double getPreferredWidth(StringBounder stringBounder)
-
getPreferredHeight
public final double getPreferredHeight(StringBounder stringBounder)
-
calculateDimension
public Dimension2D calculateDimension(StringBounder stringBounder)
- Specified by:
calculateDimension
in interfaceTextBlock
-
-