MCPcopy
hub / github.com/g3n/engine / SetBordersColor4

Method SetBordersColor4

gui/panel.go:405–409  ·  view source on GitHub ↗

SetBordersColor4 sets the color and opacity of this panel borders

(color *math32.Color4)

Source from the content-addressed store, hash-verified

403
404// SetBordersColor4 sets the color and opacity of this panel borders
405func (p *Panel) SetBordersColor4(color *math32.Color4) {
406
407 p.udata.bordersColor = *color
408 p.SetChanged(true)
409}
410
411// BordersColor4 returns current border color
412func (p *Panel) BordersColor4() math32.Color4 {

Callers 5

applyStyleMethod · 0.80
applyStyleMethod · 0.80
applyResizerStyleMethod · 0.80
applyStyleMethod · 0.80
SetAttribsMethod · 0.80

Calls 1

SetChangedMethod · 0.80

Tested by

no test coverage detected