Overview | Module | Use | Devguide | Index

Values | Values' Details

:: com :: sun :: star :: drawing ::
enum TextAdjust
[ DEPRECATED ] This counts for the complete text, not individual lines. Description This enumeration specifies the position of a text inside a shape in relation to the shape.

Values
LEFT | The left edge of the text is adjusted to the left edge of the shape.
CENTER | The text is centered inside the shape.
RIGHT | The right edge of the text is adjusted to the right edge of the shape.
BLOCK | The text extends from the left to the right edge of the shape.
STRETCH | The text is stretched so that the longest line goes from the left to the right edge of the shape.

Values' Details
LEFT
LEFT, Description The left edge of the text is adjusted to the left edge of the shape.
CENTER
CENTER, Description The text is centered inside the shape.
RIGHT
RIGHT, Description The right edge of the text is adjusted to the right edge of the shape.
BLOCK
BLOCK, Description The text extends from the left to the right edge of the shape.
STRETCH
STRETCH, Description The text is stretched so that the longest line goes from the left to the right edge of the shape.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.