Prosurv cEZ, Prosurv CE and Prosurv PC - Land Surveying Data Collection

Prosurv Pocket Quads™ & Prosurv Imaging™ - 7.5' USGS Topo Quad Sheet Software

Call 888-647-9500 Toll-free or e-mail us at sales@prosurv.com  today!

Hit Counter

 

ASprite.NET Version 2.1.0.0

 

Public Sub DrawEllipse(X as Integer, Y as Integer, iWidth as Integer, iHeight as Integer, bDrawBackground as Boolean, bFill as Boolean)

  • Draw a Rectangle-based Ellipse to the screen or the Background.

  • X - The X location of the upper left corner of the Rectangle that bounds the Ellipse

  • Y - The Y location of the upper left corner of the Rectangle that bounds the Ellipse

  • iWidth - The width of the bounding Rectangle

  • iHeight - The height of the bounding Rectangle

  • bDrawBackground - Set this to True to make the Ellipse a permanent part of the Background image

  • bFill - New in version 2.1.0.0!  Set to True to Fill the Ellipse with the current Draw Color

Comments: Uses the color set in DrawSetDrawColor

 

Example:

GameWindow1.DrawSetDrawColor(0, 0, 0) 'Set to Black

GameWindow1.DrawEllipse(100, 100, 30, 30, True, True)