快速登录:  

Forum: VirtualDJ Skins

话题: Strange confusing stuffs with square and shape square

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

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"

 

发表时间 Thu 24 Oct 19 @ 11:07 pm


(陈旧帖子或论坛版块会自动关闭)