[Kst] www/areas/extragear/apps/kst/kstscript/docs
George Staikos
staikos at kde.org
Thu Jun 16 01:34:50 CEST 2005
SVN commit 425952 by staikos:
regenerated
M +1 -1 CubicBezier.html
M +28 -0 Label.html
--- trunk/www/areas/extragear/apps/kst/kstscript/docs/CubicBezier.html #425951:425952
@@ -37,7 +37,7 @@
</p></ul>
<br><br><a name="property_d"></a><b><a href="Point.html">Point</a> d</b><br><ul><p>
- The third control point for the curve.
+ The fourth control point for the curve.
</p></ul>
<br><br><a name="property_width"></a><b>number width</b><br><ul><p>
--- trunk/www/areas/extragear/apps/kst/kstscript/docs/Label.html #425951:425952
@@ -30,6 +30,34 @@
<i>[scalar_name]</i>, and some basic LaTeX.
</p></ul>
+<br><br><a name="property_font"></a><b>string font</b><br><ul><p>
+ Used to set or get the current font used for the label.
+
+ </p></ul>
+<br><br><a name="property_fontSize"></a><b>number fontSize</b><br><ul><p>
+ Contains the size of the font used to draw the label.
+
+ </p></ul>
+<br><br><a name="property_justification"></a><b>number justification</b><br><ul><p>
+ The justification for the label. This is a bit field with
+ two segments, one for horizontal and one for vertical
+ justification. The values are as follows:
+ <ul>
+ <li>0 - Justify None</li>
+ <li>1 - Justify Left / Top</li>
+ <li>2 - Justify Right / Bottom</li>
+ <li>3 - Justify Center</li>
+ </ul>
+ <p>Set the low order 8 bits to one of these values to
+ control horizontal justification. Set the next 8 bits
+ to one of these to control vertical justification.
+ Example:</p>
+ <code><pre>
+ // Set justification to Right-Center
+ label.justification = 2 | (3 << 8);
+ </pre></code>
+
+ </p></ul>
<br><br><a name="property_rotation"></a><b>number rotation</b><br><ul><p>
Contains the rotation angle of the label. Rotation is
clockwise from <i>normal</i> and is stored in degrees.
More information about the Kst
mailing list