Jan 17, 2012
I didn't fully understand your question. But if your question whether Rectangle should "have a" Drawable then the answer will be yes. Drawable is low level and abstract. Like Shape which is low level abstraction of rectangle, triangle and others Drawable is also low level abstraction.
Yes, user can create is own Drawable object
Drawable rectangle = new Rectangle(); // Probably there is constructor params
SetData has no parameter in base but you are calling it with parameter from Rectangle. Seriously???
Please let me know the details what is confusing you and what do you want so that I can better help you.