Skip to content

Commit

Permalink
update stye for image background
Browse files Browse the repository at this point in the history
  • Loading branch information
Qi Liu committed Apr 2, 2019
1 parent acfbf3e commit 4906ae8
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions examples/31_transparent_background.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,15 @@

// create controller for the IO globe, input the container as the parameter

var controller = new GIO.Controller( container );
var controller = new GIO.Controller( container );

controller.setSurfaceColor( "#0008ff" );
controller.setSurfaceColor( "#81F5FD" );
controller.setSelectedColor("#81F5FD");
controller.setExportColor("#0A8DFF");
controller.setImportColor("#9D12E2");
controller.setHaloColor("#81F5FD");

// Use setTransparentBackground API to set transparent background. 'true' means enable transparent background.
// Use setTransparentBackground API to set transparent background. 'true' means enable transparent background.

controller.setTransparentBackground( true );

Expand Down

0 comments on commit 4906ae8

Please sign in to comment.