summaryrefslogtreecommitdiffstats
path: root/doc/canvas.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-11-22 20:16:43 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-11-22 20:16:43 (GMT)
commite3046584b984cb05eb01493cb2747365518f18b8 (patch)
tree149dae74450af6c32d5d63409534d9c0e236bdfc /doc/canvas.n
parentd018f5251d22906500e7f6b867ba151fdd4f589d (diff)
downloadtk-e3046584b984cb05eb01493cb2747365518f18b8.zip
tk-e3046584b984cb05eb01493cb2747365518f18b8.tar.gz
tk-e3046584b984cb05eb01493cb2747365518f18b8.tar.bz2
Added documentation on the -angle option for text items
Diffstat (limited to 'doc/canvas.n')
-rw-r--r--doc/canvas.n11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/canvas.n b/doc/canvas.n
index e45eeef..7e205f5 100644
--- a/doc/canvas.n
+++ b/doc/canvas.n
@@ -6,7 +6,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: canvas.n,v 1.39 2008/11/01 16:14:30 dkf Exp $
+'\" RCS: @(#) $Id: canvas.n,v 1.40 2008/11/22 20:16:43 dkf Exp $
'\"
.so man.macros
.TH canvas n 8.3 Tk "Tk Built-In Commands"
@@ -1819,6 +1819,15 @@ the top center point of the rectangular region occupied by the
text will be at the positioning point.
This option defaults to \fBcenter\fR.
.TP
+\fB\-angle \fIrotationDegrees\fR
+.VS 8.6
+\fIRotationDegrees\fR tells how many degrees to rotate the text anticlockwise
+about the positioning point for the text; it may have any floating-point value
+from 0.0 to 360.0. For example, if \fIrotationDegrees\fR is \fB90\fR, then the
+text will be drawn vertically from bottom to top.
+This option defaults to \fB0.0\fR.
+.VE 8.6
+.TP
\fB\-font \fIfontName\fR
Specifies the font to use for the text item.
\fIFontName\fR may be any string acceptable to \fBTk_GetFont\fR.