Creates a polygon (used to create sort and tree glyphs).
'Declaration
Public Shared Function CreatePolygon( _
ByVal As System.Windows.Media.Brush, _
ByVal ParamArray () As System.Double _
) As System.Windows.Shapes.Polygon
public static System.Windows.Shapes.Polygon CreatePolygon(
System.Windows.Media.Brush ,
params System.double[]
)
Parameters
- brush
- System.Windows.Media.Brush used to fill the polygon.
- values
- Array with X and Y coordinates of the points that define the polygon.
Return Value
A polygon with the specified background and geometry.