Class DefaultViewFactory.EllipseView

    • Field Detail

      • arrowStroke

        protected java.awt.Stroke arrowStroke
      • arrowStart

        protected Arrow arrowStart
      • arrowEnd

        protected Arrow arrowEnd
      • arrowStartDir

        protected PicPoint arrowStartDir
      • arrowEndDir

        protected PicPoint arrowEndDir
      • ptAngleEnd

        protected PicPoint ptAngleEnd
      • ptAngleStart

        protected PicPoint ptAngleStart
    • Constructor Detail

      • EllipseView

        public EllipseView​(PicEllipse ellipse)
        construct a new View for the given ellipse
    • Method Detail

      • paint

        public void paint​(java.awt.Graphics2D g,
                          java.awt.geom.Rectangle2D a)
        Render the View to the given graphic context. This implementation render the interior first, then the outline.
        Specified by:
        paint in interface View
        Overrides:
        paint in class DefaultViewFactory.LeafElementView
        a - the current graphic clip