public class DefaultViewFactory.EllipseView extends DefaultViewFactory.LeafElementView
Modifier and Type | Field and Description |
---|---|
protected Arrow |
arrowEnd |
protected PicPoint |
arrowEndDir |
protected Arrow |
arrowStart |
protected PicPoint |
arrowStartDir |
protected java.awt.Stroke |
arrowStroke |
protected PicPoint |
ptAngleEnd |
protected PicPoint |
ptAngleStart |
interiorPaint, lineWidth, outlinePaint, outlineStroke, overStrikeWidth, shadowBounds, shape
bounds, element, highlighter
BARBELL_SIZE, CLICK_DISTANCE
Constructor and Description |
---|
EllipseView(PicEllipse ellipse)
construct a new View for the given ellipse
|
Modifier and Type | Method and Description |
---|---|
void |
paint(java.awt.Graphics2D g,
java.awt.geom.Rectangle2D a)
Render the View to the given graphic context.
|
protected void |
syncShape()
Synchronize the "shape" variable with the model
|
changedUpdate, getViewFactory, hitTest, syncAttributes, syncBounds
getBounds, getContainer, getDrawing, getElement, getGraphics, getHighlighter, getParentView, hitTest, paintHighlighter, repaint, setElement, setHighlighter
protected java.awt.Stroke arrowStroke
protected Arrow arrowStart
protected Arrow arrowEnd
protected PicPoint arrowStartDir
protected PicPoint arrowEndDir
protected PicPoint ptAngleEnd
protected PicPoint ptAngleStart
public EllipseView(PicEllipse ellipse)
protected void syncShape()
syncShape
in class DefaultViewFactory.LeafElementView
public void paint(java.awt.Graphics2D g, java.awt.geom.Rectangle2D a)
paint
in interface View
paint
in class DefaultViewFactory.LeafElementView
a
- the current graphic clipSubmit a bug : syd@jpicedt.org