net.sourceforge.plantuml.graphic
Class CircledCharacter

java.lang.Object
  extended by net.sourceforge.plantuml.graphic.CircledCharacter
All Implemented Interfaces:
TextBlock, UDrawable

public class CircledCharacter
extends Object
implements UDrawable, TextBlock


Constructor Summary
CircledCharacter(char c, double radius, Font font, Color innerCircle, Color circle, Color fontColor)
           
 
Method Summary
 Dimension2D calculateDimension(StringBounder stringBounder)
           
 void draw(Graphics2D g2d, int x, int y, double dpiFactor)
           
 void drawTOBEREMOVED(Graphics2D g2d, double x, double y)
           
 void drawU(UGraphic ug)
           
 void drawU(UGraphic ug, double x, double y)
           
 DrawFile generateCircleCharacter(Color background, double dpiFactor)
           
 double getPreferredHeight(StringBounder stringBounder)
           
 double getPreferredWidth(StringBounder stringBounder)
           
 UPath getUPath(FontRenderContext frc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CircledCharacter

public CircledCharacter(char c,
                        double radius,
                        Font font,
                        Color innerCircle,
                        Color circle,
                        Color fontColor)
Method Detail

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.