68 291
Assignments Done
99%
Successfully Done
In November 2018

Answer to Question #6384 in C# for burraak

Question #6384
How can I draw a custom shaped rectangle in C#

like this
http://imageshack.us/photo/my-images/59/rectanglei.jpg/
Expert's answer
Rectangle can be drawn.
Graphics graph = this.CreateGraphics();
Pen pen = new Pen(Color.Black,5); //Color black,line& width = 5
graph.DrawRectangle(pen, 10, 10, 100, 100); // draw rectangle

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions