API Description for PyObjCTools.FndCategories

Introduction

The module PyObjCTools.FndCategories defines a number of categories on classes from the Foundation framework. These categories introduce new methods that aren’t present in that framework.

To use these new methods use the following code somewhere in your program:

.. sourcecode:: python

     import PyObjCTools.FndCategories

Additional methods on NSAffineTransform

class PyObjCTools.FndCategories.NSAffineTransform
rotateByDegrees_atPoint_(angle, point)

This is similar to rotateByDegrees_ but rotates around point instead of the origin.

rotateByRadians_atPoint_(angle, point)

This is similar to rotateByRadians_ but rotates around point instead of the origin.