Documentation ¶
Overview ¶
Package bkobj 背景对象.
Index ¶
- type BkObj
- func (b *BkObj) EnableBorder(bEnable bool) int
- func (b *BkObj) EnableFill(bEnable bool) int
- func (b *BkObj) GetAlign() int
- func (b *BkObj) GetBorderColor() int
- func (b *BkObj) GetBorderWidth() int
- func (b *BkObj) GetFillColor() int
- func (b *BkObj) GetFont() int
- func (b *BkObj) GetImage() int
- func (b *BkObj) GetMargin(pMargin *xc.RECT) int
- func (b *BkObj) GetRectRoundAngle(pRect *xc.RECT) int
- func (b *BkObj) GetRotate() int
- func (b *BkObj) GetText() string
- func (b *BkObj) GetTextAlign() int
- func (b *BkObj) IsBorder() bool
- func (b *BkObj) IsFill() bool
- func (b *BkObj) SetAlign(nFlags xcc.BkObject_Align_Flag_) int
- func (b *BkObj) SetBorderColor(color int) int
- func (b *BkObj) SetBorderWidth(width int) int
- func (b *BkObj) SetFillColor(color int) int
- func (b *BkObj) SetFont(hFont int) int
- func (b *BkObj) SetImage(hImage int) int
- func (b *BkObj) SetMargin(left int, top int, right int, bottom int) int
- func (b *BkObj) SetRectRoundAngle(leftTop int, leftBottom int, rightTop int, rightBottom int) int
- func (b *BkObj) SetRotate(angle float32) int
- func (b *BkObj) SetText(pText string) int
- func (b *BkObj) SetTextAlign(nAlign xcc.TextFormatFlag_) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BkObj ¶
type BkObj struct {
objectbase.ObjectBase
}
背景对象.
func (*BkObj) GetTextAlign ¶
背景对象_取文本对齐, 返回文本对齐方式, TextFormatFlag_.
func (*BkObj) SetAlign ¶
func (b *BkObj) SetAlign(nFlags xcc.BkObject_Align_Flag_) int
背景对象_置对齐.
nFlags: 对齐方式, BkObject_Align_Flag_.
func (*BkObj) SetMargin ¶
背景对象_置外间距, 外间距与对齐标识(BkObject_Align_Flag_)互相依赖.
left: 左边间距.
top: 顶部间距.
right: 右边间距.
bottom: 底部间距.
func (*BkObj) SetRectRoundAngle ¶
背景对象_置矩形圆角.
leftTop: 左上角.
leftBottom: 左下角.
rightTop: 右上角.
rightBottom: 右下角.
func (*BkObj) SetTextAlign ¶
func (b *BkObj) SetTextAlign(nAlign xcc.TextFormatFlag_) int
背景对象_置文本对齐.
nAlign: 文本对齐方式, TextFormatFlag_, TextAlignFlag_, TextTrimming_.
Click to show internal directories.
Click to hide internal directories.