Accesso rapido:  

Forum: VirtualDJ Skins

Topic: Strange confusing stuffs with square and shape square

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

NicotuxHome userMember since 2014
What's the difference between both squares ?

<visual>
<pos x="+0" y="+0"/>
<size width="42" height="42"/>
<off shape="square" color="blue" border="black" border_size="1" radius="0"/>
</visual>

and this one ?

<square width="42" height="42" radius="0" color="blue" border_color="black" border="1"/>

The answer : 1 pixel height & 1 pixel width !!

To draw both, twice a parameter with same name is used differently depending on the method
or as your convenance different parameter name are used for the same purpose
or the same feature is defined by using two different names of parameter
somehow confusing

border="black" .............. border_size="1"
----------------------...................../\\/
border_color="black"... border="1"
......................................-----------------

Is it really too late to unify ?

i.e. : use border for something else such as basic line type border="plain|dash|dots|dotdash|none"
border_color="black" border_size="1"

 

Inviato Thu 24 Oct 19 @ 11:07 pm


(Vecchi argomenti e forum sono automaticamente chiusi)