문제

As I recently found out Drawing2D class of NET CF is missing most of it's functionality. Is there a way to expand it with for example "LinearGradientBrush"?

도움이 되었습니까?

해결책

If you're specifically looking for a replacement for LinearGradientBrush, there is a Win32 function called GradientFill.

Here's an example showing how to use it:

How to: Display a Gradient Fill

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top