c# - How to fill a region with transparency in windows forms application -
i have developed .net windows forms application fill color on image (eg: map). have highlight each region in different color. facing problem fill region color transparent enough display name of region (state). able fill region color not in transparent way. please me fill region in transparent way background text visible. in advanceā¦. sree
you need semi-transparent brush, try this solution.
basically if use:
color.fromargb(0...255, r, g, b)
the first parameter alpha component. valid values 0 through 255, 0 means transparent, 255 opaque.
Comments
Post a Comment