Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Width of Oval

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a question from a mock exam.
------------------------------------------
g.drawOval(30,30,200,200)
State whether true.
1. the height & width of the Oval is 200.
------------------------------------------
I assumed there is no width or height for an Oval. The width and height are the width and height of the sorrounding rectangle.
[ It's called diameter for a circle. not width or height. I dont know what is it for an Oval ]
Any ideas ?


[This message has been edited by vasansrini (edited August 03, 2000).]
 
Savithri Devaraj
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by vasansrini:
This is a question from a mock exam.

True.
The method signature is drawOval(x,y,width,height) where x,y are the coordinates of upper left corner and width and height are of the bounding rectangle which are the width and height of the oval
Savithri
[This message has been edited by Savithri Devaraj (edited August 03, 2000).]
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic