jingwood / d2dlib

A .NET library for hardware-accelerated, high performance, immediate mode rendering via Direct2D.
MIT License
234 stars 40 forks source link

Do not drawing polygon with transparent fill color #74

Open Vedan opened 2 years ago

Vedan commented 2 years ago

This code not drawing polygon. I am drawing on D2DControl.

g.DrawPolygon(new D2DPoint[] { new D2DPoint(100, 100), new D2DPoint(150, 150), 
  new D2DPoint(100, 150) }, D2DColor.Black, 1.7F, D2DDashStyle.Solid, D2DColor.Transparent);

when I set fill color its show OK. But I am need draw only polygon frame. Please help me. Paul