Gettextalignx(), Gettextaligny(), Gettextplacerect() – MiG InfoCom MiG Calendar JavaBeans User Manual
Page 21: Settextalignx(atrefrangenumber), Settextplacerect(placerect), Gettextalignx, Gettextaligny, Gettextplacerect, Settextalignx, Atrefrangenumber
![background image](https://www.manualsdir.com/files/798675/content/doc021.png)
getTextPlaceRect
public PlaceRect getTextPlaceRect()
Property: How this shape's main text will relate to the reference rectangle (bounds) given by the activity layout system.
Default is:
new AbsRect(new AtStart(2), new AtStart(1), new AtEnd(0), new AtStart(14), null,
null, null)
.
Returns:
The current place rect. May be
null
.
setTextPlaceRect
public void setTextPlaceRect(PlaceRect placeRect)
Property: How this shape's main text will relate to the reference rectangle (bounds) given by the activity layout system.
Default is:
new AbsRect(new AtStart(2), new AtStart(1), new AtEnd(0), new AtStart(14), null,
null, null)
.
Parameters:
placeRect
- The new place rect. May be
null
, but the behaviour for that is undefined.
getTextAlignX
public AtRefRangeNumber getTextAlignX()
Property: Where within the place rect for the text to draw the text string.
Returns:
The alignment for the text. Might be
null
.
See Also:
setTextAlignX
public void setTextAlignX(AtRefRangeNumber x)
Property: Where within the place rect for the text to draw the text string.
Parameters:
x
- The new alignment for the text. Might be
null
.
See Also:
getTextAlignY
public AtRefRangeNumber getTextAlignY()
Property: Where within the place rect for the text to draw the text string.
Returns:
The alignment for the text. Might be
null
.
See Also:
Page 21 of 196
com.miginfocom.beans.ActivityAShapeBean