JuliaImages / ImageDraw.jl

Drawing Package for JuliaImages
Other
27 stars 17 forks source link

only expose thickness and fill as keyword #58

Closed johnnychen94 closed 3 years ago

johnnychen94 commented 3 years ago

follow up #51

When things become complex, it will be a nightmare to fix the method ambiguity with too many positional argument. Because keyword parameters are not used in method dispatch, it is more friendly to both users and maintainers.

This commit also fixes the incremental complilation issue; there are two duplicated methods.

cc: @ashwani-rathee