Added SetTexture on Object
This commit is contained in:
parent
50697e4369
commit
a8d5a64837
|
@ -132,6 +132,10 @@ type Box interface {
|
|||
SetBounds (image.Rectangle)
|
||||
// SetColor sets the background color of this Box.
|
||||
SetColor (color.Color)
|
||||
// SetTexture sets a repeating background texture. If the texture is
|
||||
// transparent, it will be overlayed atop the color specified by
|
||||
// SetColor().
|
||||
SetTexture (Texture)
|
||||
// SetBorder sets the Border(s) of the box. The first Border will be the
|
||||
// most outset, and the last Border will be the most inset.
|
||||
SetBorder (...Border)
|
||||
|
|
Loading…
Reference in New Issue