Suppose I have PathGeometry
, consisting of lines, like this
(the rectangle == panel, for example Grid
):
I want to fill them to the bottom of the panel, like this:
The quick and not very good solution I see is to create additional curve with 2 additional points in the bottom and use it for filling.
Is there some better way to solve the task? Something like this (pseudocode):
<Path Data=... FillStyle = "ToTheBottom" Fill="Blue"/>