Documentation

Draw Polygon - Open Dev Kit Documentation

Open Dev Kit Documentation :: GUI :: Render Context :: Draw Polygon

GUI.RenderContext.DrawPolygon(
  Points 2D Vector Array,
  Border Color Color,
  Fill Color Color
) 
Draws a polygon with both border and fill colors

Parameters

Points 2D Vector Array
Points defining the vertices of the polygon
Border Color Color
Color of the polygon's border
Fill Color Color
Color used to fill the interior of the polygon

Return Value

Nothing

If you think anything is missing, please feel free to: submit documentation feedback on this page