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 TypeMethodDescriptionvoidsetCharacterHeight(double aCharacterHeight) Sets the height of the individual text characters.voidsetCharacterWidth(double aCharacterWidth) Sets the width of the individual text characters.voidsetHorizontalAlignment(int aHorizontalAlignment) Sets the horizontal alignment of the text.voidsetRotAngle(double aRotAngle) Sets the angle over which this text is rotated (in degrees).voidsetTextString(String aTextString) Sets the text string.voidsetVerticalAlignment(int aVerticalAlignment) Sets the vertical alignment of the text.Methods inherited from interface com.luciad.shape.shape2D.ILcd2DEditableShape
move2D, move2D, translate2DMethods inherited from interface com.luciad.shape.ILcdBounded
getBoundsMethods inherited from interface com.luciad.util.ILcdCloneable
cloneMethods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPointMethods 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.
-