We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
drawSolidPolygon
1 parent 9662e30 commit 0b5478cCopy full SHA for 0b5478c
Sources/SwiftPlot/Renderer.swift
@@ -145,10 +145,10 @@ public protocol Renderer: AnyObject{
145
fillColor: Color)
146
147
/*drawSolidPolygon()
148
- *params: points: [Point],
149
- * fillColor: Color,
150
- * isOriginShifted: Bool
151
- *description: Draws a polygon with specified fill color from an array of Points
+ *params: polygon: Polygon,
+ * fillColor: Color,
+ * isOriginShifted: Bool
+ *description: Draws a polygon with specified fill color from a Polygon struct
152
* This function can operate in both coordinate systems with and
153
* without shifted origin.
154
* This is decided by the boolean parameter isOriginShifted.
0 commit comments