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, shapebounds, element, highlighterBARBELL_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, syncBoundsgetBounds, getContainer, getDrawing, getElement, getGraphics, getHighlighter, getParentView, hitTest, paintHighlighter, repaint, setElement, setHighlighterprotected 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.LeafElementViewpublic void paint(java.awt.Graphics2D g,
java.awt.geom.Rectangle2D a)
paint in interface Viewpaint in class DefaultViewFactory.LeafElementViewa - the current graphic clipSubmit a bug : syd@jpicedt.org