mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-23 17:59:12 +00:00
Update: update godoc
This commit is contained in:
parent
46b90b2826
commit
eefb01a414
1 changed files with 27 additions and 2 deletions
29
doc.go
29
doc.go
|
|
@ -1,5 +1,6 @@
|
|||
// Copyright 2016 The go-vgo Project Developers. See the COPYRIGHT
|
||||
// file at the top-level directory of this distribution and at
|
||||
// Copyright (c) 2016-2025 AtomAI, All rights reserved.
|
||||
//
|
||||
// See the COPYRIGHT file at the top-level directory of this distribution and at
|
||||
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
|
|
@ -117,3 +118,27 @@ Keys are supported:
|
|||
"lights_kbd_up" Turn up keyboard backlight brightness No Windows support
|
||||
"lights_kbd_down" Turn down keyboard backlight brightness No Windows support
|
||||
*/
|
||||
|
||||
/*
|
||||
## Type Conversion
|
||||
|
||||
| | type conversion | func
|
||||
|-----|---------------------|----------------------
|
||||
| * | robotgo.Bitmap -> robotgo.CBitmap | robotgo.ToCBitmap()
|
||||
| | robotgo.Bitmap -> *image.RGBA | robotgo.ToRGBAGo()
|
||||
| * | robotgo.CBitmap -> C.MMBitmapRef | robotgo.ToMMBitmapRef()
|
||||
| | robotgo.CBitmap -> robotgo.Bitmap | robotgo.ToBitmap()
|
||||
| | robotgo.CBitmap -> image.Image | robotgo.ToImage()
|
||||
| | robotgo.CBitmap -> *image.RGBA | robotgo.ToRGBA()
|
||||
| * | C.MMBitmapRef -> robotgo.CBitmap | robotgo.CBitmap()
|
||||
| * | image.Image -> robotgo.Bitmap | robotgo.ImgToBitmap()
|
||||
| | image.Image -> robotgo.CBitmap | robotgo.ImgToCBitmap()
|
||||
| | image.Image -> []byte | robotgo.ToByteImg()
|
||||
| | image.Image -> string | robotgo.ToStringImg()
|
||||
| * | *image.RGBA -> robotgo.Bitmap | robotgo.RGBAToBitmap()
|
||||
| * | []byte -> image.Image | robotgo.ByteToImg()
|
||||
| | []byte-> robotgo.CBitmap | robotgo.ByteToCBitmap()
|
||||
| | []byte -> string | string()
|
||||
| * | string -> image.Image | robotgo.StrToImg()
|
||||
| | string -> byte | []byte()
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue