why can't a remove the fill from a polygon?


Author
Message
Hans Henrik Friis Pedersen...
Hans Henrik Friis Pedersen
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 28, Visits: 136
Hi,
I would like to have no fill in a polygon and the only way I can find is to use this:

NPointF[] points2 = new NPointF[]
{
    new NPointF(150,140),
    new NPointF(200,140),
    new NPointF(200,200),
    new NPointF(150,200),
};
NPolygonPath cup = new NPolygonPath(points2);
cup.Style.FillStyle = new NColorFillStyle(Color.Empty); // an exception is raised - why?


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search