Skip to content

Commit

Permalink
minor doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattriks committed Jan 14, 2020
1 parent e68a731 commit 1b72738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/form.jl
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ Bezigon{P<:BezierPolygonPrimitive} = Form{P}
Define a bezier polygon. `anchor0` is the starting point as an `(x,y)` tuple.
`sides` contains Vectors of side points (tuples): each vector has the control point(s) and end point for each side
(the end point forms the next starting point).
For SVG, the sides can be quadratic (2 points) or cubic (3 points) bezier curves. For Cairo backends, only cubic beziers are supported.
The sides can be linear (1 point), quadratic (2 points) or cubic (3 points).
"""
function bezigon(anchor0::XYTupleOrVec, sides::Vector{T}, tag=empty_tag) where T<:Vector{<:XYTupleOrVec}
anchor = (x_measure(anchor0[1]), y_measure(anchor0[2]))
Expand Down

0 comments on commit 1b72738

Please sign in to comment.