Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Draw shape on the basis of some point

Draw shape on the basis of some point

Scheduled Pinned Locked Moved Visual Basic
csharpquestionvisual-studio
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sunil goyalG
    wrote on last edited by
    #1

    hi all, In my program, i have multiple point. these points can make different closed diagram but i have no idea that how can i draw a diagram on the basis of point. I want to ask whether there are any class in .Net which take different point and draw closed diagram on the basis of point ? I am using visual studio 2005

    D 1 Reply Last reply
    0
    • S sunil goyalG

      hi all, In my program, i have multiple point. these points can make different closed diagram but i have no idea that how can i draw a diagram on the basis of point. I want to ask whether there are any class in .Net which take different point and draw closed diagram on the basis of point ? I am using visual studio 2005

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      I guess DrawClosedCurve method of Graphics class will help you.

      HAPPY DIWALI[^]

      S 1 Reply Last reply
      0
      • D dan sh

        I guess DrawClosedCurve method of Graphics class will help you.

        HAPPY DIWALI[^]

        S Offline
        S Offline
        sunil goyalG
        wrote on last edited by
        #3

        Thanks danish, I want to know one more thing. Whether there are any method to fill this area to any color ?

        D 1 Reply Last reply
        0
        • S sunil goyalG

          Thanks danish, I want to know one more thing. Whether there are any method to fill this area to any color ?

          D Offline
          D Offline
          dan sh
          wrote on last edited by
          #4

          FillClosedCurve? If you use Object Browser you will find everything in Graphics class.

          HAPPY DIWALI[^]

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups