Tiago Francisco
Tiago Francisco

Reputation: 75

Windows Mobile 6 Icon Transparency & SetColorKey

I'm trying to draw rectangles in compact framework with images. My image attributes have the SetColorKey(Color.Mangenta,Color.Mangenta) and then I play with the rectangle color filling. Almost everything works, but my icon's border keeps getting Mangenta.

enter image description here

enter image description here

Can anyone help understand why?

Thanks in advance.

Upvotes: 0

Views: 38

Answers (1)

Tiago Francisco
Tiago Francisco

Reputation: 75

I got it. The border actually is not white or mangenta. It is another color to set the gradient. So, filling the border with mangenta makes everything work great. Thanks.

Upvotes: 1

Related Questions