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, UFont font, HtmlColor innerCircle, HtmlColor circle, HtmlColor fontColor)
           
 
Method Summary
 Dimension2D calculateDimension(StringBounder stringBounder)
           
 void drawU(UGraphic ug, double x, double y)
           
 double getPreferredHeight(StringBounder stringBounder)
           
 double getPreferredWidth(StringBounder stringBounder)
           
 UPath getUPath(FontRenderContext frc)
           
 List<Url> getUrls()
           
 
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,
                        UFont font,
                        HtmlColor innerCircle,
                        HtmlColor circle,
                        HtmlColor fontColor)
Method Detail

drawU

public void drawU(UGraphic ug,
                  double x,
                  double y)
Specified by:
drawU in interface UDrawable

getPreferredWidth

public final double getPreferredWidth(StringBounder stringBounder)

getPreferredHeight

public final double getPreferredHeight(StringBounder stringBounder)

getUPath

public UPath getUPath(FontRenderContext frc)

calculateDimension

public Dimension2D calculateDimension(StringBounder stringBounder)
Specified by:
calculateDimension in interface TextBlock

getUrls

public List<Url> getUrls()
Specified by:
getUrls in interface TextBlock


Copyright © 2013. All Rights Reserved.