diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2005-05-25 20:38:51 +0400 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2005-05-25 20:38:51 +0400 |
commit | 3eb2be3831b96dc18e97e2f9e52bd1f2428cdc09 (patch) | |
tree | fed413c694efaedee191716e78b14e794d21ba68 /source/blender/python/api2_2x/doc/Text3d.py | |
parent | f9f3e82f934b006323869da59f9dc93dc7e7a96b (diff) |
updates and corrections for BPy Text3d module from Ken Hughes.
Thanks, Ken!
Diffstat (limited to 'source/blender/python/api2_2x/doc/Text3d.py')
-rw-r--r-- | source/blender/python/api2_2x/doc/Text3d.py | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/source/blender/python/api2_2x/doc/Text3d.py b/source/blender/python/api2_2x/doc/Text3d.py index 6d5546774f6..b60eff0a78e 100644 --- a/source/blender/python/api2_2x/doc/Text3d.py +++ b/source/blender/python/api2_2x/doc/Text3d.py @@ -81,25 +81,29 @@ class Text3d: def getDrawMode(): """ - Get the drawing mode (3d, front, back) - This item is a bitfield whose value is a combination of the following parameters. - - Bit 0 : "3D" is set - - Bit 1 : "Front" is set - - Bit 2 : "Back" is set - @rtype: integer bitfield + Get the drawing mode (3d, front, and/or back) + Gets the text3d's drawing modes. Uses module constants + - DRAW3D : "3D" is set + - DRAWFRONT : "Front" is set + - DRAWBACK : "Back" is set + @rtype: tuple of module constants """ def setDrawMode(val): """ - Set the drawing mode. The flag corresponds to the Blender settings for 3D, Front, Back. This parameter is a bitfield. + Set the text3d's drawing mode. Uses module constants + - DRAW3D + - DRAWFRONT + - DRAWBACK @rtype: PyNone - @type val: integer bitfield - @param val : The Text3d's mode bits. See L{getDrawMode} for the meaning of the individual bits. + @type val: single module constant or tuple of module constants + @param val : The Text3d's modes. See L{getDrawMode} for the meaning of + the constants. """ def getUVordco(): """ - Return wether UV coords are used for Texture mapping + Return whether UV coords are used for Texture mapping """ def setUVordco(val): @@ -268,7 +272,7 @@ class Text3d: - RIGHT - MIDDLE - FLUSH - @rtype: int + @rtype: module constant """ def setAlignment(align): @@ -279,7 +283,7 @@ class Text3d: - MIDDLE - FLUSH @rtype: PyNone - @type align: int + @type align: module constant @param align: The new text3d's Alignment value. """ |