2 Replies Latest reply on Aug 7, 2006 12:03 PM by Newsgroup_User

    How to draw a solid triangle in an image?

    WrongAgain Level 1
      For example, code:
      member("myImage").image.draw(0, 0, 100, 100, [#shapeType:#line, #color: rgb(150, 0, 0)])
      can draw a line.

      Code:
      member("myImage ").image.fill(0, 0, 100, 100, [#shapeType:#oval, #color: rgb(150, 0, 0)])
      can draw a solid circle.

      How to draw a triangle that vertexes are (0,0), (100,0), (50,0)?
      And how to draw a discretional polygon?