Results 1 to 2 of 2

Thread: Rotated Rectangle & Fill color

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2006
    Location
    London, UK
    Posts
    817

    Rotated Rectangle & Fill color

    VB doesn't seem to be very helpful with drawing.

    How do I fill a rectangle with a RGB color?

    Picture1.Line (x1, y1)-(x2, y2), Color, BF

    And is it possible to insert a rotated a rectangle?
    Last edited by sgrya1; Jun 12th, 2009 at 03:16 PM.

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Rotated Rectangle & Fill color

    How do I fill a rectangle with a RGB color?
    Create a colour using the RGB function and pass it to the line method.

    Line (0, 0)-(1000, 1000), RGB(0, 0, 255), BF

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width