by
0
5
132
0
Popular
Tagged
Specified
Refined
OpenSource
Created
Modified Sep 15, 2017

Published on:

FrameworklibGDX
Languagecsharp
LanguageJava
LicenseMIT_X11

Example usage for the BackgroundColor class

Companion usage example for the arbitrary libGDX Table BackgroundColor class.
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/2646972/Example-usage-for-the-BackgroundColor-cl?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
BackgroundColor backgroundColor = new BackgroundColor("white_color_texture.png"); backgroundColor.setColor(2, 179, 228, 255); // r, g, b, a table.setBackground(backgroundColor);
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus