Fnd Categories

2
================================================= API Description for ``PyObjCTools.FndCateg ories`` ================================================= 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.FndCategorie s Additional methods on ``NSAffineTransform`` ------------------------------------------- This module defines a number of new methods for ``NSAffineTransform``: * ``rotateByDegrees_atPoint_(angle, point)``  This is simular to ``rotateByDegrees_`` but rotates around ``point`` instead  of the origin. * ``rotateByRadians_atPoint_(angle, point)``  This is simular to ``rotateByRadians_`` but rotates around ``point`` instead  of the origin.

Transcript of Fnd Categories

Page 1: Fnd Categories

 

=================================================API Description for ``PyObjCTools.FndCategories``=================================================

Introduction------------

The module ``PyObjCTools.FndCategories`` defines a number of categories onclasses from the ``Foundation`` framework. These categories introducenew 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``-------------------------------------------

This module defines a number of new methods for ``NSAffineTransform``:

* ``rotateByDegrees_atPoint_(angle, point)``

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

* ``rotateByRadians_atPoint_(angle, point)``

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

Page 2: Fnd Categories