I'm trying to build a component which uses the drawing api to
draw half circles radiating up from the bottom. I draw the circle
with the center point on the bottom of the component. The drawing
api is happy to draw the circle with the bottom half of the circle
below the component being drawn on. How can I avoid drawing outside
the component which the graphic property is being used?
you've height and width propeties of the component you're
drawing on. You know where do you want to start. Given this data
you should be able to calculate where do you want to stop drawing;
or how big your half circle would be. Makes sense?