G2D Miscellaneous Functions
Useful functions included in the G2D library.
- G2D.BGPic.CreateSkinned(width, height, skin_struct)
G2D.BGPic.CreateSkinned(width, height, skin_struct)
BGId = G2DBGPic.CreateSkinned(width, height, skin)
Returns a BGPic of the desired sizes ('width' and 'height') skinned with the the skin layers defined by 'skin'.
INPUT
- width : BGPic width
- height : BGPic height
- skin : Skin definition (see skinning functions)
OUTPUT
- BGId : BGPic id