本文整理了Java中com.koolearn.klibrary.text.view.ZLTextWordCursor.isStartOfParagraph()
方法的一些代码示例,展示了ZLTextWordCursor.isStartOfParagraph()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZLTextWordCursor.isStartOfParagraph()
方法的具体详情如下:
包路径:com.koolearn.klibrary.text.view.ZLTextWordCursor
类名称:ZLTextWordCursor
方法名:isStartOfParagraph
暂无
代码示例来源:origin: Jiangzqts/EpubRead
public boolean isStartOfText() {
return isStartOfParagraph() && myParagraphCursor.isFirst();
}
代码示例来源:origin: ydcx/KooReader
public boolean isStartOfText() {
return isStartOfParagraph() && myParagraphCursor.isFirst();
}
代码示例来源:origin: ydcx/KooReader
public void gotoHome() {
final ZLTextWordCursor cursor = getStartCursor();
if (!cursor.isNull() && cursor.isStartOfParagraph() && cursor.getParagraphIndex() == 0) {
return;
}
gotoPosition(0, 0, 0);
preparePaintInfo();
}
代码示例来源:origin: Jiangzqts/EpubRead
public void gotoHome() {
final ZLTextWordCursor cursor = getStartCursor();
if (!cursor.isNull() && cursor.isStartOfParagraph() && cursor.getParagraphIndex() == 0) {
return;
}
gotoPosition(0, 0, 0);
preparePaintInfo();
}
代码示例来源:origin: ydcx/KooReader
ParagraphSize size = paragraphSize(page, start, true, unit);
height -= size.Height;
boolean positionChanged = !start.isStartOfParagraph();
start.moveToParagraphStart();
while (height > 0) {
if (!sameStart && start.isEndOfParagraph() && end.isStartOfParagraph()) {
ZLTextWordCursor startCopy = new ZLTextWordCursor(start);
startCopy.nextParagraph();
代码示例来源:origin: Jiangzqts/EpubRead
ParagraphSize size = paragraphSize(page, start, true, unit);
height -= size.Height;
boolean positionChanged = !start.isStartOfParagraph();
start.moveToParagraphStart();
while (height > 0) {
if (!sameStart && start.isEndOfParagraph() && end.isStartOfParagraph()) {
ZLTextWordCursor startCopy = new ZLTextWordCursor(start);
startCopy.nextParagraph();
内容来源于网络,如有侵权,请联系作者删除!