Closed hyrodium closed 2 years ago
This PR fixes #221.
julia> using Luxor julia> zero(Point) Point(0.0, 0.0) julia> zero(Point(1,2)) Point(0.0, 0.0) julia> zeros(Point, 4) 4-element Vector{Point}: Point(0.0, 0.0) Point(0.0, 0.0) Point(0.0, 0.0) Point(0.0, 0.0) julia> iszero(O) true julia> iszero(Point(1,2)) false
This PR fixes #221.