Skip to content

Commit 0b5478c

Browse files
committed
docs: Fix documentation for drawSolidPolygon
1 parent 9662e30 commit 0b5478c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/SwiftPlot/Renderer.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,10 @@ public protocol Renderer: AnyObject{
145145
fillColor: Color)
146146

147147
/*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
148+
*params: polygon: Polygon,
149+
* fillColor: Color,
150+
* isOriginShifted: Bool
151+
*description: Draws a polygon with specified fill color from a Polygon struct
152152
* This function can operate in both coordinate systems with and
153153
* without shifted origin.
154154
* This is decided by the boolean parameter isOriginShifted.

0 commit comments

Comments
 (0)