Package com.luciad.shape.shape2D
Interface ILcd2DEditableText
- All Superinterfaces:
Cloneable
,ILcd2DEditableShape
,ILcdBounded
,ILcdCloneable
,ILcdShape
,ILcdText
,Serializable
- All Known Implementing Classes:
TLcdCGMText
,TLcdDGNDisplayableTag
,TLcdDGNText2D
,TLcdDWGText
,TLcdXYText
-
Field Summary
Fields inherited from interface com.luciad.shape.ILcdText
ALIGNMENT_BOTTOM, ALIGNMENT_CENTER, ALIGNMENT_LEFT, ALIGNMENT_RIGHT, ALIGNMENT_TOP
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setCharacterHeight
(double aCharacterHeight) Sets the height of the individual text characters.void
setCharacterWidth
(double aCharacterWidth) Sets the width of the individual text characters.void
setHorizontalAlignment
(int aHorizontalAlignment) Sets the horizontal alignment of the text.void
setRotAngle
(double aRotAngle) Sets the angle over which this text is rotated (in degrees).void
setTextString
(String aTextString) Sets the text string.void
setVerticalAlignment
(int aVerticalAlignment) Sets the vertical alignment of the text.Methods inherited from interface com.luciad.shape.shape2D.ILcd2DEditableShape
move2D, move2D, translate2D
Methods inherited from interface com.luciad.shape.ILcdBounded
getBounds
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
Methods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
Methods inherited from interface com.luciad.shape.ILcdText
getCharacterHeight, getCharacterWidth, getHorizontalAlignment, getLocation, getRotAngle, getTextString, getTextWidth, getVerticalAlignment
-
Method Details
-
setTextString
Sets the text string. -
setCharacterWidth
void setCharacterWidth(double aCharacterWidth) Sets the width of the individual text characters.- Parameters:
aCharacterWidth
- the new width.
-
setCharacterHeight
void setCharacterHeight(double aCharacterHeight) Sets the height of the individual text characters.- Parameters:
aCharacterHeight
- the new height.
-
setHorizontalAlignment
void setHorizontalAlignment(int aHorizontalAlignment) Sets the horizontal alignment of the text.- Parameters:
aHorizontalAlignment
-ALIGNMENT_LEFT
,ALIGNMENT_CENTER
, orALIGNMENT_RIGHT
.
-
setVerticalAlignment
void setVerticalAlignment(int aVerticalAlignment) Sets the vertical alignment of the text.- Parameters:
aVerticalAlignment
-ALIGNMENT_TOP
,ALIGNMENT_CENTER
, orALIGNMENT_BOTTOM
.
-
setRotAngle
void setRotAngle(double aRotAngle) Sets the angle over which this text is rotated (in degrees). The angle is positive counter-clockwise.- Parameters:
aRotAngle
- the new arc angle.
-