| 程序包 | 说明 |
|---|---|
| com.ruiyun.jvppeteer.api.core | |
| com.ruiyun.jvppeteer.bidi.core | |
| com.ruiyun.jvppeteer.cdp.core | |
| com.ruiyun.jvppeteer.cdp.entities |
| 限定符和类型 | 方法和说明 |
|---|---|
Point |
ElementHandle.clickablePoint()
返回元素内的中点,除非提供了特定的偏移量。
|
Point |
ElementHandle.clickablePoint(Offset offset)
返回元素内的中点,除非提供了特定的偏移量。
|
| 限定符和类型 | 方法和说明 |
|---|---|
DragData |
ElementHandle.drag(Point point)
将当前元素拖动到指定位置
|
abstract DragData |
Mouse.drag(Point start,
Point target)
调度 drag 事件。
|
abstract void |
Mouse.dragAndDrop(Point start,
Point target,
int delay)
按顺序执行拖动、拖动、拖动和放置。
|
abstract void |
Mouse.dragEnter(Point target,
DragData data)
调度 dragenter 事件。
|
abstract void |
Mouse.dragOver(Point target,
DragData data)
调度 dragover 事件。
|
abstract void |
Mouse.drop(Point target,
DragData data)
按顺序执行 dragenter、dragover 和 drop。
|
| 限定符和类型 | 方法和说明 |
|---|---|
DragData |
BidiMouse.drag(Point start,
Point target) |
void |
BidiMouse.dragAndDrop(Point start,
Point target,
int delay) |
void |
BidiMouse.dragEnter(Point target,
DragData data) |
void |
BidiMouse.dragOver(Point target,
DragData data) |
void |
BidiMouse.drop(Point target,
DragData data) |
| 限定符和类型 | 方法和说明 |
|---|---|
DragData |
CdpMouse.drag(Point start,
Point target) |
void |
CdpMouse.dragAndDrop(Point start,
Point target,
int delay) |
void |
CdpMouse.dragEnter(Point target,
DragData data) |
void |
CdpMouse.dragOver(Point target,
DragData data) |
void |
CdpMouse.drop(Point target,
DragData data) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BoundingBox |
class |
ScreenshotClip |
class |
TouchPoint |
| 限定符和类型 | 方法和说明 |
|---|---|
Point |
MouseState.getPosition() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Point> |
BoxModel.getBorder() |
List<Point> |
BoxModel.getContent() |
List<Point> |
BoxModel.getMargin() |
List<Point> |
BoxModel.getPadding() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
MouseState.setPosition(Point position) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
BoxModel.setBorder(List<Point> border) |
void |
BoxModel.setContent(List<Point> content) |
void |
BoxModel.setMargin(List<Point> margin) |
void |
BoxModel.setPadding(List<Point> padding) |
| 构造器和说明 |
|---|
BoxModel(List<Point> content,
List<Point> padding,
List<Point> border,
List<Point> margin,
double width,
double height) |
BoxModel(List<Point> content,
List<Point> padding,
List<Point> border,
List<Point> margin,
double width,
double height) |
BoxModel(List<Point> content,
List<Point> padding,
List<Point> border,
List<Point> margin,
double width,
double height) |
BoxModel(List<Point> content,
List<Point> padding,
List<Point> border,
List<Point> margin,
double width,
double height) |
Copyright © 2020–2025. All rights reserved.