net.sourceforge.plantuml.graphic
Class CircledCharacter
java.lang.Object
net.sourceforge.plantuml.graphic.CircledCharacter
- All Implemented Interfaces:
- TextBlock, UDrawable
public class CircledCharacter
- extends Object
- implements UDrawable, TextBlock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CircledCharacter
public CircledCharacter(char c,
double radius,
Font font,
Color innerCircle,
Color circle,
Color fontColor)
draw
public void draw(Graphics2D g2d,
int x,
int y,
double dpiFactor)
drawU
public void drawU(UGraphic ug,
double x,
double y)
- Specified by:
drawU
in interface TextBlock
getPreferredWidth
public final double getPreferredWidth(StringBounder stringBounder)
getPreferredHeight
public final double getPreferredHeight(StringBounder stringBounder)
drawU
public void drawU(UGraphic ug)
- Specified by:
drawU
in interface UDrawable
getUPath
public UPath getUPath(FontRenderContext frc)
calculateDimension
public Dimension2D calculateDimension(StringBounder stringBounder)
- Specified by:
calculateDimension
in interface TextBlock
drawTOBEREMOVED
public void drawTOBEREMOVED(Graphics2D g2d,
double x,
double y)
- Specified by:
drawTOBEREMOVED
in interface TextBlock
generateCircleCharacter
public DrawFile generateCircleCharacter(Color background,
double dpiFactor)
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.