- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextHighlighting.intersects()
方法的一些代码示例,展示了ZLTextHighlighting.intersects()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZLTextHighlighting.intersects()
方法的具体详情如下:
包路径:com.koolearn.klibrary.text.view.ZLTextHighlighting
类名称:ZLTextHighlighting
方法名:intersects
暂无
代码示例来源:origin: ydcx/KooReader
private List<ZLTextHighlighting> findHilites(ZLTextPage page) {
final LinkedList<ZLTextHighlighting> hilites = new LinkedList<ZLTextHighlighting>();
if (mySelection.intersects(page)) {
hilites.add(mySelection);
}
synchronized (myHighlightings) {
for (ZLTextHighlighting h : myHighlightings) {
if (h.intersects(page)) {
hilites.add(h);
}
}
}
return hilites;
}
代码示例来源:origin: Jiangzqts/EpubRead
private List<ZLTextHighlighting> findHilites(ZLTextPage page) {
final LinkedList<ZLTextHighlighting> hilites = new LinkedList<ZLTextHighlighting>();
if (mySelection.intersects(page)) {
hilites.add(mySelection);
}
synchronized (myHighlightings) {
for (ZLTextHighlighting h : myHighlightings) {
if (h.intersects(page)) {
hilites.add(h);
}
}
}
return hilites;
}
代码示例来源:origin: ydcx/KooReader
protected ZLTextHighlighting findHighlighting(int x, int y, int maxDistance) {
final ZLTextRegion region = findRegion(x, y, maxDistance, ZLTextRegion.AnyRegionFilter);
if (region == null) {
return null;
}
synchronized (myHighlightings) {
for (ZLTextHighlighting h : myHighlightings) {
if (h.getBackgroundColor() != null && h.intersects(region)) {
return h;
}
}
}
return null;
}
代码示例来源:origin: Jiangzqts/EpubRead
protected ZLTextHighlighting findHighlighting(int x, int y, int maxDistance) {
final ZLTextRegion region = findRegion(x, y, maxDistance, ZLTextRegion.AnyRegionFilter);
if (region == null) {
return null;
}
synchronized (myHighlightings) {
for (ZLTextHighlighting h : myHighlightings) {
if (h.getBackgroundColor() != null && h.intersects(region)) {
return h;
}
}
}
return null;
}
代码示例来源:origin: Jiangzqts/EpubRead
return;
if (!highlighting.intersects(myCurrentPage)) {
gotoPosition(highlighting.getStartPosition().getParagraphIndex(), 0, 0);
preparePaintInfo(myCurrentPage);
preparePaintInfo(myCurrentPage);
while (!highlighting.intersects(myCurrentPage)) {
doRepaint = true;
turnPage(true, ScrollingMode.NO_OVERLAPPING, 0);
代码示例来源:origin: ydcx/KooReader
return;
if (!highlighting.intersects(myCurrentPage)) {
gotoPosition(highlighting.getStartPosition().getParagraphIndex(), 0, 0);
preparePaintInfo(myCurrentPage);
preparePaintInfo(myCurrentPage);
while (!highlighting.intersects(myCurrentPage)) {
doRepaint = true;
turnPage(true, ScrollingMode.NO_OVERLAPPING, 0);
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextHighlighting.getForegroundColor()方法的一些代码示例,展示了ZLText
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextHighlighting.isEmpty()方法的一些代码示例,展示了ZLTextHighlightin
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextHighlighting.intersects()方法的一些代码示例,展示了ZLTextHighligh
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextHighlighting.getEndPosition()方法的一些代码示例,展示了ZLTextHigh
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextHighlighting.getOutlineColor()方法的一些代码示例,展示了ZLTextHig
我是一名优秀的程序员,十分优秀!