代码拉取完成,页面将自动刷新
package xc
import "gitee.com/wengo/windows_gui/common"
// 形状圆_创建, 创建圆形形状对象, 返回句柄.
//
// x: X坐标.
//
// y: Y坐标.
//
// cx: 宽度.
//
// cy: 高度.
//
// hParent: 父对象句柄.
func XShapeEllipse_Create(x int, y int, cx int, cy int, hParent int) int {
r, _, _ := xShapeEllipse_Create.Call(uintptr(x), uintptr(y), uintptr(cx), uintptr(cy), uintptr(hParent))
return int(r)
}
// 形状圆_置边框色.
//
// hShape: 形状对象句柄.
//
// color: ABGR颜色值.
func XShapeEllipse_SetBorderColor(hShape int, color int) int {
r, _, _ := xShapeEllipse_SetBorderColor.Call(uintptr(hShape), uintptr(color))
return int(r)
}
// 形状圆_置填充色.
//
// hShape: 形状对象句柄.
//
// color: ABGR颜色值.
func XShapeEllipse_SetFillColor(hShape int, color int) int {
r, _, _ := xShapeEllipse_SetFillColor.Call(uintptr(hShape), uintptr(color))
return int(r)
}
// 形状圆_启用边框, 启用绘制圆边框.
//
// hShape: 形状对象句柄.
//
// bEnable: 是否启用.
func XShapeEllipse_EnableBorder(hShape int, bEnable bool) int {
r, _, _ := xShapeEllipse_EnableBorder.Call(uintptr(hShape), common.BoolPtr(bEnable))
return int(r)
}
// 形状圆_启用填充, 启用填充圆.
//
// hShape: 形状对象句柄.
//
// bEnable: 是否启用.
func XShapeEllipse_EnableFill(hShape int, bEnable bool) int {
r, _, _ := xShapeEllipse_EnableFill.Call(uintptr(hShape), common.BoolPtr(bEnable))
return int(r)
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。