dos h0094 bgCanvasUse - cwtickle/danoniplus-docs GitHub Wiki
English | Japanese
Home > Chart settings specification > Importing custom data
| <- skinType | bgCanvasUse | settingType -> |
- Setting whether to use Canvas data as background for default skin (compatible with ver9 and earlier)
- Common setting -> g_presetObj.bgCanvasUse
|bgCanvasUse=false|
Sets whether or not to use Canvas data as the background when using the default skin. This setting can be used only when the html file is created with a Canvas tag inserted as shown below.
<div id="canvas-frame" style="width:600px">
<canvas id="layer0" width="600" height="500"> <!-- Here's the Canvas tag -->
<canvas id="layer1" width="600" height="500">
</div>
Since skin functions have been added since ver10, the html for the sample does not include the Canvas tag as shown below.
In this case, it is treated as false
regardless of whether this setting is made or not.
<div id="canvas-frame"></div>
Value | Default | Description |
---|---|---|
false | Do not use Canvas as background | |
true | * | Use Canvas as background in default skin |
Version | Change details |
---|---|
v33.3.0 | - Initial implementation |
| <- skinType | bgCanvasUse | settingType -> |