Package org.locationtech.udig.ui.graphics

Examples of org.locationtech.udig.ui.graphics.ViewportGraphics.drawOval()


           
            graphics.setColor( Color.YELLOW );               
            graphics.fillOval(pixel.x-3, pixel.y-3, 7, 7 );

            graphics.setColor( Color.BLACK );
            graphics.drawOval(pixel.x-3, pixel.y-3, 7, 7 );
        }
    }

}
View Full Code Here


        Color yellow = Color.YELLOW;
        graphics.setColor(yellow);       
        graphics.fillOval(extent.x , extent.y, extent.width, extent.height);
        Color orange = Color.ORANGE;
        graphics.setColor(orange);
        graphics.drawOval(extent.x, extent.y, extent.width, extent.height);
        // set back to his default color
        graphics.setColor(createColor(mark.hashCode()));
      } else {
        graphics.fillOval(extent.x, extent.y, extent.width, extent.height);
      }
View Full Code Here

        graphics.fillRect(0,
                0,
                EDGE_WIDTH*2,
                EDGE_WIDTH*2);
        graphics.setColor(Color.black);
        graphics.drawOval(EDGE_WIDTH/4, EDGE_WIDTH/4, EDGE_WIDTH*2 - EDGE_WIDTH/2, EDGE_WIDTH*2 - EDGE_WIDTH/2);
        graphics.fillOval(EDGE_WIDTH - 1, EDGE_WIDTH - 1, 2, 2);
        graphics.drawRect(0,
                0,
                EDGE_WIDTH*2,
                EDGE_WIDTH*2);
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.