This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Width of Oval

 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • 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
  • 0
  • 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).]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic