FlexSheet for WPF | ComponentOne
C1.Util Namespace / Util Class / CreatePolygon Method
System.Windows.Media.Brush used to fill the polygon.
Array with X and Y coordinates of the points that define the polygon.

In This Topic
    CreatePolygon Method
    In This Topic
    Creates a polygon (used to create sort and tree glyphs).
    Syntax
    'Declaration
     
    
    Public Shared Function CreatePolygon( _
       ByVal brush As Brush, _
       ByVal ParamArray values() As Double _
    ) As Polygon
    public static Polygon CreatePolygon( 
       Brush brush,
       params double[] values
    )

    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.
    See Also