jpicedt.format.output.eepic
Class TextView
java.lang.Object
jpicedt.graphic.view.AbstractView
jpicedt.graphic.view.LeafElementView
jpicedt.graphic.view.TextView
jpicedt.format.output.eepic.TextView
- All Implemented Interfaces:
- View
public class TextView
- extends TextView
a View for rendering Text's : only rectangular frame boxes (through \\makebox and rel.) are supported,
+ no filling + only black stroke.
Alignment :
- no frame : left, right or center ; top, bottom or center
- frame : left + baseline. (i.e. \\framebox{text} doesn't allow alignment specification if the
box size is to be computed by LaTeX itself)
- Since:
- jPicEdt 1.3.2
- Version:
- $Id: TextView.java,v 1.5 2013/03/27 07:10:20 vincentb1 Exp $
- Author:
- Sylvain Reynal
Method Summary |
protected double |
getRotation()
Returns the text rotation in radians : we return 0, since eepic doesn't support rotating text
This is used by syncShape to compute the current tl2ModelTr AffineTransform |
protected void |
syncFrame()
update frame shape : all frames are drawn as a rectangle |
protected void |
syncStringLocationX()
update strx |
protected void |
syncStringLocationY()
update stry |
Methods inherited from class jpicedt.graphic.view.AbstractView |
getBounds, getContainer, getDrawing, getGraphics, getHighlighter, getParentView, getViewFactory, hitTest, intersect, paintHighlighter, repaint, setElement, setHighlighter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextView
public TextView(PicText te,
EepicViewFactory f)
- construct a new View for the given PicRectangle
getRotation
protected double getRotation()
- Returns the text rotation in radians : we return 0, since eepic doesn't support rotating text
This is used by syncShape to compute the current tl2ModelTr AffineTransform
- Overrides:
getRotation
in class TextView
syncFrame
protected void syncFrame()
- update frame shape : all frames are drawn as a rectangle
- Overrides:
syncFrame
in class TextView
syncStringLocationX
protected void syncStringLocationX()
- update strx
- Overrides:
syncStringLocationX
in class TextView
syncStringLocationY
protected void syncStringLocationY()
- update stry
- Overrides:
syncStringLocationY
in class TextView
Submit a bug : syd@jpicedt.org