Question

NSBezierPath fournit une API appelée bounds qui retourne des bornes sans points de contrôle. Y at-il API équivalent en UIBezierPath pour retourner les limites de chemin hors des points de contrôle?

Était-ce utile?

La solution

Je suis la solution, ce qui était simple. CGPath fournit un tel appel: CGPathGetPathBoundingBox. Nous pouvons toujours obtenir de CGPath UIBezierPath.

Autres conseils

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top