What's the easiest way to get a custom shape based on a rectangle, to draw a model object?
For example, if this is a dummy model object
class model{ public string text { get; set; } public int x { get; set; } public int y { get; set; } public int width { get; set; } public int height { get; set; }}
I want to display these objects using a custom shape that is just a white rectangle with a black border, programmatically. Please give a short sample.
