Hi all,
I am missing something. Just for an examply here is the part that is used in an existing skin file.
<!-- Skin background -->
<visual canstretch="true">
<pos x="0" y="0"/>
<size width="1920" height="1080"/>
<off shape="square" color="fonto"/>
</visual>
I am missing some underlying basics here. Where and how is this related to an PNG file? How does this work? There aren`t coordinate`s to a PNG file. Its more a basic question how the relationship with the PNG files are being maked and not about this specific canstretch visual.
gr. Marcel
I am missing something. Just for an examply here is the part that is used in an existing skin file.
<!-- Skin background -->
<visual canstretch="true">
<pos x="0" y="0"/>
<size width="1920" height="1080"/>
<off shape="square" color="fonto"/>
</visual>
I am missing some underlying basics here. Where and how is this related to an PNG file? How does this work? There aren`t coordinate`s to a PNG file. Its more a basic question how the relationship with the PNG files are being maked and not about this specific canstretch visual.
gr. Marcel
Posted 3 days ago @ 7:01 pm
Your code doesn't "link" to the png file
In order to do so, instead of <off shape="square" color="fonto"/> you would have to use something like <off x="0" y="450"/>
By giving x and y you give coordinates on WHERE on the PNG file to read the graphics.
You can read more here:
https://www.virtualdj.com/wiki/Skin%20SDK
Vector vs Raster graphics are explained a little better inside the "button" element.
https://www.virtualdj.com/wiki/Skin%20Button.html
In order to do so, instead of <off shape="square" color="fonto"/> you would have to use something like <off x="0" y="450"/>
By giving x and y you give coordinates on WHERE on the PNG file to read the graphics.
You can read more here:
https://www.virtualdj.com/wiki/Skin%20SDK
Vector vs Raster graphics are explained a little better inside the "button" element.
https://www.virtualdj.com/wiki/Skin%20Button.html
Posted 3 days ago @ 10:39 pm