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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. About Graphics

About Graphics

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpwpfgraphicsregexhelp
3 Posts 3 Posters 1 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.
  • M Offline
    M Offline
    manish m meshram
    wrote on last edited by
    #1

    I am developing a component and for backcolor, how can i diaplay radial gradient in rectangle withoout using WPF framework. i the rectangle below i want to display col1, color2, and col3 in gradient pattern.i dont how to give gradient effect of col3.please help me |---------------------| | | | color1 | | | |---------------------| | . . color2 | | . . | | . color3 . | |---------------------|

    H L 2 Replies Last reply
    0
    • M manish m meshram

      I am developing a component and for backcolor, how can i diaplay radial gradient in rectangle withoout using WPF framework. i the rectangle below i want to display col1, color2, and col3 in gradient pattern.i dont how to give gradient effect of col3.please help me |---------------------| | | | color1 | | | |---------------------| | . . color2 | | . . | | . color3 . | |---------------------|

      H Offline
      H Offline
      Henry Minute
      wrote on last edited by
      #2

      Take a look at the documentation for PathGradientBrush class and its SurroundColors property.

      Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

      1 Reply Last reply
      0
      • M manish m meshram

        I am developing a component and for backcolor, how can i diaplay radial gradient in rectangle withoout using WPF framework. i the rectangle below i want to display col1, color2, and col3 in gradient pattern.i dont how to give gradient effect of col3.please help me |---------------------| | | | color1 | | | |---------------------| | . . color2 | | . . | | . color3 . | |---------------------|

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        Hi, Here[^] is an example using PathGradientBrush. :)

        Luc Pattyn [Forum Guidelines] [My Articles]


        The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


        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