public class EepicViewFactory.TextView extends DefaultViewFactory.TextView
strx, stry, textLayout, tl2ModelTr
interiorPaint, lineWidth, outlinePaint, outlineStroke, overStrikeWidth, shadowBounds, shape
bounds, element, highlighter
BARBELL_SIZE, CLICK_DISTANCE
Constructor and Description |
---|
TextView(PicText te)
construct a new View for the given PicRectangle
|
Modifier and Type | Method and Description |
---|---|
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
|
changedUpdate, getTextLayout, getTextToModelTransform, hitTest, paint, syncBounds, syncShape
getViewFactory, syncAttributes
getBounds, getContainer, getDrawing, getElement, getGraphics, getHighlighter, getParentView, hitTest, paintHighlighter, repaint, setElement, setHighlighter
public TextView(PicText te)
protected double getRotation()
getRotation
in class DefaultViewFactory.TextView
protected void syncFrame()
syncFrame
in class DefaultViewFactory.TextView
protected void syncStringLocationX()
syncStringLocationX
in class DefaultViewFactory.TextView
protected void syncStringLocationY()
syncStringLocationY
in class DefaultViewFactory.TextView
Submit a bug : syd@jpicedt.org