net.sourceforge.plantuml.svek.image
Class EntityImageNote

java.lang.Object
  extended by net.sourceforge.plantuml.svek.AbstractEntityImage
      extended by net.sourceforge.plantuml.svek.image.EntityImageNote
All Implemented Interfaces:
Stencil, TextBlock, UDrawable, Hideable, IEntityImage, TextBlockBackcolored, UShape

public class EntityImageNote
extends AbstractEntityImage
implements Stencil


Field Summary
 
Fields inherited from interface net.sourceforge.plantuml.svek.IEntityImage
CORNER, MARGIN, MARGIN_LINE
 
Constructor Summary
EntityImageNote(ILeaf entity, ISkinParam skinParam)
           
 
Method Summary
 Dimension2D calculateDimension(StringBounder stringBounder)
           
 void drawU(UGraphic ug)
           
 double getEndingX(StringBounder stringBounder, double y)
           
 double getPreferredHeight(StringBounder stringBounder)
           
 double getPreferredWidth(StringBounder stringBounder)
           
protected  double getPureTextWidth(StringBounder stringBounder)
           
 ShapeType getShapeType()
           
 int getShield()
           
 double getStartingX(StringBounder stringBounder, double y)
           
protected  TextBlock getTextBlock()
           
protected  double getTextHeight(StringBounder stringBounder)
           
 double getTextWidth(StringBounder stringBounder)
           
 void setOpaleLine(Line line, Shape shape)
           
 
Methods inherited from class net.sourceforge.plantuml.svek.AbstractEntityImage
getBackcolor, getEntity, getSkinParam, getStereo, isHidden
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityImageNote

public EntityImageNote(ILeaf entity,
                       ISkinParam skinParam)
Method Detail

getPreferredWidth

public final double getPreferredWidth(StringBounder stringBounder)

getPreferredHeight

public final double getPreferredHeight(StringBounder stringBounder)

getTextHeight

protected final double getTextHeight(StringBounder stringBounder)

getTextBlock

protected final TextBlock getTextBlock()

getPureTextWidth

protected final double getPureTextWidth(StringBounder stringBounder)

getTextWidth

public final double getTextWidth(StringBounder stringBounder)

calculateDimension

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

drawU

public final void drawU(UGraphic ug)
Specified by:
drawU in interface UDrawable

getShapeType

public ShapeType getShapeType()
Specified by:
getShapeType in interface IEntityImage

getShield

public int getShield()
Specified by:
getShield in interface IEntityImage

setOpaleLine

public void setOpaleLine(Line line,
                         Shape shape)

getStartingX

public double getStartingX(StringBounder stringBounder,
                           double y)
Specified by:
getStartingX in interface Stencil

getEndingX

public double getEndingX(StringBounder stringBounder,
                         double y)
Specified by:
getEndingX in interface Stencil


Copyright © 2014. All Rights Reserved.