aebabis
aebabis

Reputation: 3705

Is KineticJS Polygon Deprecated

If you go to the documentation for KineticJS the sidebar navigation doesn't have a link to the page for Polygon, but the page is still there. Is this intentional?

Upvotes: 0

Views: 354

Answers (1)

markE
markE

Reputation: 105035

As of V5 the polygon is now a line--actually a closed polyline.

If you want the equivalent of the old polygon, just set the closed property of a polyline to true.

Upvotes: 3

Related Questions