de.ukn.hci.squidy.designer.util
Class DrawableString
java.lang.Object
de.ukn.hci.squidy.designer.util.DrawableString
public class DrawableString
- extends Object
DrawableString.
Date: 21.08.2009
Time: 14:06:42
- Since:
- 1.0.0
- Version:
- $Id: DrawableString.java 30 2009-09-18 22:23:35Z nitsche $
- Author:
- Toni Zeitler
anton.zeitler@campus.lmu.de
Media Informatics Group
University of Munich (LMU)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DrawableString
public DrawableString()
DrawableString
public DrawableString(String fullString)
- Parameters:
fullString -
DrawableString
public DrawableString(String fullString,
Color color,
Font font,
Rectangle bounds)
- Parameters:
fullString - color - font - bounds -
draw
public void draw(Graphics2D g,
double viewScale)
- Parameters:
g -
invalidate
public void invalidate()
get
public String get()
- Returns:
set
public void set(String value)
- Parameters:
value -
getColor
public Color getColor()
- Returns:
setColor
public void setColor(Color color)
- Parameters:
color -
getFont
public Font getFont()
- Returns:
setFont
public void setFont(Font font)
- Parameters:
font -
getBounds
public Rectangle getBounds()
- Returns:
setBounds
public void setBounds(Rectangle bounds)
- Parameters:
bounds -
getAlignmentH
public DrawableString.AlignmentH getAlignmentH()
- Returns:
setAlignmentH
public void setAlignmentH(DrawableString.AlignmentH alignmentH)
- Parameters:
alignmentH -
getAlignmentV
public DrawableString.AlignmentV getAlignmentV()
- Returns:
setAlignmentV
public void setAlignmentV(DrawableString.AlignmentV alignmentV)
- Parameters:
alignmentV -
getOffsetX
public int getOffsetX()
- Returns:
setOffsetX
public void setOffsetX(int offsetX)
- Parameters:
offsetX -
getOffsetY
public int getOffsetY()
- Returns:
setOffsetY
public void setOffsetY(int offsetY)
- Parameters:
offsetY -
Copyright © 2007-2010 Human-Computer-Interaction :: University of Konstanz. All Rights Reserved.