Documentation

Draw Filled Polygon - Open Dev Kit Documentation

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

GUI.RenderContext.DrawFilledPolygon(
  Points 2D Vector Array,
  Color Color
) 
Draws a filled polygon without a distinct border

Parameters

Points 2D Vector Array
Points defining the vertices of the polygon
Color Color
Color used to fill the polygon

Return Value

Nothing

Lua Usage

renderContext:DrawFilledPolygon(points, color)

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