Documentation ¶
Index ¶
- Constants
- func BitmapSaveBMP(path string) (err error)
- func CaptureBitmap(data *[]byte) (err error)
- func CaptureInit(hwnd, x, y, width, height int32) (err error)
- func CaptureRelease() (err error)
- func Compute(name string, currentX, currentY, targetX, targetY float64) (outputX, outputY float64, err error)
- func GetCursorPos() (currentX, currentY float64, err error)
- func GetHwndByTitle(title string) (hwnd int32, err error)
- func GetScreenResolution() (width, height int32, err error)
- func IsWindowIconic(hwnd int32) bool
- func IsWindowVisible(hwnd int32) bool
- func LinearInit(t float64) (err error)
- func MagneticInit(k float64) (err error)
- func MoveMouse(dx, dy float64) (err error)
- func PidInit(p, i, d float64) (err error)
- func SpeedInit(speed, deltaTime float64) (err error)
- type Rect
Constants ¶
View Source
const ( Linear = "LinearCompute" Magnetic = "MagneticCompute" Pid = "PidCompute" Speed = "SpeedCompute" )
Variables ¶
This section is empty.
Functions ¶
func CaptureInit ¶ added in v1.0.3
捕获初始化
Types ¶
Click to show internal directories.
Click to hide internal directories.