- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextPage.getTextHeight()
方法的一些代码示例,展示了ZLTextPage.getTextHeight()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZLTextPage.getTextHeight()
方法的具体详情如下:
包路径:com.koolearn.klibrary.text.view.ZLTextPage
类名称:ZLTextPage
方法名:getTextHeight
暂无
代码示例来源:origin: ydcx/KooReader
private ZLTextWordCursor findStartOfPrevousPage(ZLTextPage page, ZLTextWordCursor end) {
if (twoColumnView()) {
end = findStart(page, end, SizeUnit.PIXEL_UNIT, page.getTextHeight());
}
end = findStart(page, end, SizeUnit.PIXEL_UNIT, page.getTextHeight());
return end;
}
代码示例来源:origin: Jiangzqts/EpubRead
private ZLTextWordCursor findStartOfPrevousPage(ZLTextPage page, ZLTextWordCursor end) {
if (twoColumnView()) {
end = findStart(page, end, SizeUnit.PIXEL_UNIT, page.getTextHeight());
}
end = findStart(page, end, SizeUnit.PIXEL_UNIT, page.getTextHeight());
return end;
}
代码示例来源:origin: Jiangzqts/EpubRead
private void buildInfos(ZLTextPage page, ZLTextWordCursor start, ZLTextWordCursor result) {
result.setCursor(start);
int textAreaHeight = page.getTextHeight();
page.LineInfos.clear();
page.Column0Height = 0;
if (textAreaHeight < 0 && page.LineInfos.size() > page.Column0Height) {
if (page.Column0Height == 0 && page.twoColumnView()) {
textAreaHeight = page.getTextHeight();
textAreaHeight -= info.Height + info.Descent;
page.Column0Height = page.LineInfos.size();
if (textAreaHeight < 0) {
if (page.Column0Height == 0 && page.twoColumnView()) {
textAreaHeight = page.getTextHeight();
page.Column0Height = page.LineInfos.size();
} else {
if (nextParagraph && result.getParagraphCursor().isEndOfSection()) {
if (page.Column0Height == 0 && page.twoColumnView() && !page.LineInfos.isEmpty()) {
textAreaHeight = page.getTextHeight();
page.Column0Height = page.LineInfos.size();
代码示例来源:origin: ydcx/KooReader
private void buildInfos(ZLTextPage page, ZLTextWordCursor start, ZLTextWordCursor result) {
result.setCursor(start);
int textAreaHeight = page.getTextHeight();
page.LineInfos.clear();
page.Column0Height = 0;
if (textAreaHeight < 0 && page.LineInfos.size() > page.Column0Height) {
if (page.Column0Height == 0 && page.twoColumnView()) {
textAreaHeight = page.getTextHeight();
textAreaHeight -= info.Height + info.Descent;
page.Column0Height = page.LineInfos.size();
if (textAreaHeight < 0) {
if (page.Column0Height == 0 && page.twoColumnView()) {
textAreaHeight = page.getTextHeight();
page.Column0Height = page.LineInfos.size();
} else {
if (nextParagraph && result.getParagraphCursor().isEndOfSection()) {
if (page.Column0Height == 0 && page.twoColumnView() && !page.LineInfos.isEmpty()) {
textAreaHeight = page.getTextHeight();
page.Column0Height = page.LineInfos.size();
代码示例来源:origin: ydcx/KooReader
private void prepareTextLine(ZLTextPage page, ZLTextLineInfo info, int x, int y, int columnIndex) {
y = Math.min(y + info.Height, getTopMargin() + page.getTextHeight() - 1);
代码示例来源:origin: Jiangzqts/EpubRead
private void prepareTextLine(ZLTextPage page, ZLTextLineInfo info, int x, int y, int columnIndex) {
y = Math.min(y + info.Height, getTopMargin() + page.getTextHeight() - 1);
代码示例来源:origin: Jiangzqts/EpubRead
break;
case ScrollingMode.SCROLL_PERCENTAGE:
page.StartCursor.setCursor(findStart(page, page.StartCursor, SizeUnit.PIXEL_UNIT, page.getTextHeight() * myOverlappingValue / 100));
break;
代码示例来源:origin: ydcx/KooReader
break;
case ScrollingMode.SCROLL_PERCENTAGE:
page.StartCursor.setCursor(findStart(page, page.StartCursor, SizeUnit.PIXEL_UNIT, page.getTextHeight() * myOverlappingValue / 100));
break;
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextPage.moveEndCursor()方法的一些代码示例,展示了ZLTextPage.moveEndC
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextPage.getTextHeight()方法的一些代码示例,展示了ZLTextPage.getTextH
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextPage.moveStartCursor()方法的一些代码示例,展示了ZLTextPage.moveSt
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextPage.isEmptyPage()方法的一些代码示例,展示了ZLTextPage.isEmptyPag
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextPage.findPercentFromStart()方法的一些代码示例,展示了ZLTextPage.f
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextPage.findLineFromStart()方法的一些代码示例,展示了ZLTextPage.find
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextPage.getTextWidth()方法的一些代码示例,展示了ZLTextPage.getTextWi
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextPage.setSize()方法的一些代码示例,展示了ZLTextPage.setSize()的具体用法
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextPage.findLineFromEnd()方法的一些代码示例,展示了ZLTextPage.findLi
我是一名优秀的程序员,十分优秀!