public class EntityImageNote extends AbstractEntityImage implements Stencil
CORNER, MARGIN, MARGIN_LINE
Constructor and Description |
---|
EntityImageNote(ILeaf entity,
ISkinParam skinParam) |
Modifier and Type | Method and 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() |
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) |
getBackcolor, getEntity, getSkinParam, getStereo, isHidden
getInnerPosition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInnerPosition
public EntityImageNote(ILeaf entity, ISkinParam skinParam)
public final double getPreferredWidth(StringBounder stringBounder)
public final double getPreferredHeight(StringBounder stringBounder)
protected final double getTextHeight(StringBounder stringBounder)
protected final TextBlock getTextBlock()
protected final double getPureTextWidth(StringBounder stringBounder)
public final double getTextWidth(StringBounder stringBounder)
public Dimension2D calculateDimension(StringBounder stringBounder)
calculateDimension
in interface TextBlock
public ShapeType getShapeType()
getShapeType
in interface IEntityImage
public int getShield()
getShield
in interface IEntityImage
public double getStartingX(StringBounder stringBounder, double y)
getStartingX
in interface Stencil
public double getEndingX(StringBounder stringBounder, double y)
getEndingX
in interface Stencil
Copyright © 2015. All Rights Reserved.