net.sourceforge.plantuml.graphic
Class CircledCharacter

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

public class CircledCharacter
extends Object
implements 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 getPreferredHeight(StringBounder stringBounder)
           
 double getPreferredWidth(StringBounder stringBounder)
           
 
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)
Specified by:
drawU in interface UDrawable

getPreferredWidth

public final double getPreferredWidth(StringBounder stringBounder)

getPreferredHeight

public final double getPreferredHeight(StringBounder stringBounder)

calculateDimension

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


Copyright © 2014. All Rights Reserved.