Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Points inside a C4Shape / Polygon #49

Closed
traviskirton opened this issue May 2, 2012 · 1 comment
Closed

Points inside a C4Shape / Polygon #49

traviskirton opened this issue May 2, 2012 · 1 comment

Comments

@traviskirton
Copy link
Collaborator

It's possible to access the points inside a C4Shape which is a line... using shape.pointA and shape.pointB

Is it possible to have access to all the points in a polygon?
Or, at least return an array of the points inside the polygon?
There should also be a reference to the number of points inside the shape as well.

@traviskirton
Copy link
Collaborator Author

Will not implement this as of Jan 2013, for a couple reasons.

  1. UIBezierPath does not provide access to all points inside itself.
  2. It's possible to return all the points, but depending on the KIND of point this doesn't make sense... i.e. what are you going to do with a bezier point?
  3. If you already have created the shape yourself, then you have a method or set of code that contains the shape's point array...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant