All Packages Class Hierarchy This Package Previous Next Index
Class jp.kyasu.graphics.text.TextPositionInfo
java.lang.Object
|
+----jp.kyasu.graphics.text.TextLineInfo
|
+----jp.kyasu.graphics.text.TextPositionInfo
- public class TextPositionInfo
- extends TextLineInfo
The TextPositionInfo
class provides an information of
position in TextLayout
.
- Version:
- 09 Dec 1997
- Author:
- Kazuki YASUMATSU
-
lineIndex
- The index of line at this position.
-
textIndex
- The index of text at this position.
-
x
- The x position.
-
TextPositionInfo()
- Constructs an empty text position information.
-
TextPositionInfo(int, int, int, int, int, int, int, int, int, int, ParagraphStyle, boolean)
- Constructs a text position information with the specified informations.
-
TextPositionInfo(int, int, int, TextLineInfo)
- Constructs a text position information with the specified text line
information and other informations.
-
TextPositionInfo(TextPositionInfo)
- Constructs a text position information with the same information
as the specified text position information.
-
paramString()
- Returns a string representation of the parameters.
textIndex
public int textIndex
- The index of text at this position.
lineIndex
public int lineIndex
- The index of line at this position.
x
public int x
- The x position.
TextPositionInfo
public TextPositionInfo()
- Constructs an empty text position information.
TextPositionInfo
public TextPositionInfo(int textIndex,
int lineIndex,
int x,
int y,
int lineBegin,
int lineEnd,
int remainWidth,
int lineHeight,
int lineSkip,
int baseline,
ParagraphStyle paragraphStyle,
boolean isParagraphMark)
- Constructs a text position information with the specified informations.
- Parameters:
- textIndex - the index of text.
- lineIndex - the index of line.
- x - the x position.
- y - the y position.
- lineBegin - the beginning text index.
- lineEnd - the ending text index.
- remainWidth - the remaining width.
- lineHeight - the height.
- lineSkip - the height plus space after line and paragraph.
- baseline - the baseline.
- paragraphStyle - the paragraph style.
- isParagraphMark -
true
when end of a paragraph.
TextPositionInfo
public TextPositionInfo(int textIndex,
int lineIndex,
int x,
TextLineInfo lineInfo)
- Constructs a text position information with the specified text line
information and other informations.
- Parameters:
- textIndex - the index of text.
- lineIndex - the index of line.
- x - the x position.
- lineInfo - the text line information.
TextPositionInfo
public TextPositionInfo(TextPositionInfo posInfo)
- Constructs a text position information with the same information
as the specified text position information.
- Parameters:
- posInfo - the text position information.
paramString
public String paramString()
- Returns a string representation of the parameters.
- Overrides:
- paramString in class TextLineInfo
All Packages Class Hierarchy This Package Previous Next Index