Class EntityImageNote
- java.lang.Object
-
- net.sourceforge.plantuml.graphic.AbstractTextBlock
-
- net.sourceforge.plantuml.svek.AbstractEntityImage
-
- 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
Constructors Constructor Description EntityImageNote(ILeaf entity, ISkinParam skinParam, UmlDiagramType umlDiagramType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
double
getStartingX(StringBounder stringBounder, double y)
protected TextBlock
getTextBlock()
protected double
getTextHeight(StringBounder stringBounder)
double
getTextWidth(StringBounder stringBounder)
void
setOpaleLine(SvekLine line, SvekNode node, SvekNode other)
-
Methods inherited from class net.sourceforge.plantuml.svek.AbstractEntityImage
getBackcolor, getEntity, getOverscanX, getShield, getSkinParam, getStereo, isHidden
-
Methods inherited from class net.sourceforge.plantuml.graphic.AbstractTextBlock
getInnerPosition, getMinMax
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.graphic.TextBlock
getInnerPosition, getMinMax
-
-
-
-
Constructor Detail
-
EntityImageNote
public EntityImageNote(ILeaf entity, ISkinParam skinParam, UmlDiagramType umlDiagramType)
-
-
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 interfaceTextBlock
-
getShapeType
public ShapeType getShapeType()
- Specified by:
getShapeType
in interfaceIEntityImage
-
getStartingX
public double getStartingX(StringBounder stringBounder, double y)
- Specified by:
getStartingX
in interfaceStencil
-
getEndingX
public double getEndingX(StringBounder stringBounder, double y)
- Specified by:
getEndingX
in interfaceStencil
-
-