public class TextLineInfo
extends java.lang.Object
TextLineInfo class provides an information of the line
in TextLayout.| 修飾子とタイプ | フィールドと説明 |
|---|---|
int |
baseline
The baseline of this line.
|
boolean |
isParagraphMark
True when this line is end of a paragraph.
|
int |
lineBegin
The beginning text index of this line, inclusive.
|
int |
lineEnd
The ending text index of this line, exclusive.
|
int |
lineHeight
The height of this line.
|
int |
lineSkip
The skip space of this line, that is, the line height plus
an optional space after line and an optional space after paragraph
(
lineHeight + lineSpace + paragraphSpace). |
ParagraphStyle |
paragraphStyle
The paragraph style of this line.
|
int |
remainWidth
The remaining width (the remaining space) of this line.
|
int |
y
The top position of this line.
|
| コンストラクタと説明 |
|---|
TextLineInfo()
Constructs an empty text line information.
|
TextLineInfo(int lineBegin,
int lineEnd,
int remainWidth,
int lineHeight,
int lineSkip,
int baseline,
int lineTop,
ParagraphStyle paragraphStyle,
boolean isParagraphMark)
Constructs a text line information with the specified informations.
|
TextLineInfo(TextLineInfo lineInfo)
Constructs a text line information with the same information
as the specified text line information.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
java.lang.String |
paramString()
Returns a string representation of the parameters.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
public int lineBegin
public int lineEnd
public int remainWidth
public int lineHeight
public int lineSkip
lineHeight + lineSpace + paragraphSpace).public int baseline
public int y
public ParagraphStyle paragraphStyle
public boolean isParagraphMark
public TextLineInfo()
public TextLineInfo(int lineBegin,
int lineEnd,
int remainWidth,
int lineHeight,
int lineSkip,
int baseline,
int lineTop,
ParagraphStyle paragraphStyle,
boolean isParagraphMark)
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.lineTop - the top position of line.paragraphStyle - the paragraph style.isParagraphMark - truewhen end of a paragraph.public TextLineInfo(TextLineInfo lineInfo)
lineInfo - the text line information.