代码拉取完成,页面将自动刷新
package xc
// 形状线_创建.
//
// x1: 坐标.
//
// y1: 坐标.
//
// x2: 坐标.
//
// y2: 坐标.
//
// hParent: 父对象句柄.
func XShapeLine_Create(x1 int, y1 int, x2 int, y2 int, hParent int) int {
r, _, _ := xShapeLine_Create.Call(uintptr(x1), uintptr(y1), uintptr(x2), uintptr(y2), uintptr(hParent))
return int(r)
}
// 形状线_置位置.
//
// hShape: 形状对象句柄.
//
// x1: 坐标.
//
// y1: 坐标.
//
// x2: 坐标.
//
// y2: 坐标.
func XShapeLine_SetPosition(hShape int, x1 int, y1 int, x2 int, y2 int) int {
r, _, _ := xShapeLine_SetPosition.Call(uintptr(hShape), uintptr(x1), uintptr(y1), uintptr(x2), uintptr(y2))
return int(r)
}
// 形状线_置颜色, 设置直线颜色.
//
// hShape: 形状对象句柄.
//
// color: ABGR颜色值.
func XShapeLine_SetColor(hShape int, color int) int {
r, _, _ := xShapeLine_SetColor.Call(uintptr(hShape), uintptr(color))
return int(r)
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。