get_color


Description:

[ Version ( since = "4.10" ) ]
public RGBA get_color ()

Gets the current foreground color for the widget’s style.

This function should only be used in snapshot implementations that need to do custom drawing with the foreground color.

Parameters:

this

a widget

color

return location for the color