layer元素说明文档(1.20)

<layer> / <plugin>

更新于2018.3.28 krpano 1.19 pr15

<layer>或<plugin>元素可用于嵌入图像、logo、按钮或动态插件(例如krpano插件)。

可组合、堆栈、继承多个<layer>或<plugin>元素,也可以为<layer>或<plugin>元素设置parent属性,或作为其它<layer>或<plugin>元素的子元素对其进行声明。在这种情况下,parent属性以及keep属性会自动继承其父元素的对应属性。

注意 – <layer><plugin>元素本质上是同一种元素,只是名字不同而已!推荐使用layer来代替plugin,因为它能更好地描述元素。plugin源自于krpano的旧版本,只是作为备用。

<layer name=”…”
type=”image”
url=”…”
keep=”false”
devices=”all”
parent=””
visible=”true”
enabled=”true”
handcursor=”true”
maskchildren=”false”
scalechildren=”false”
zorder=””
capture=”true”
children=”true”
preload=”false”
blendmode=”normal”
style=””
align=””
edge=””
safearea=””
x=””
y=””
ox=””
oy=””
rotate=”0.0″
width=””
height=””
scale=”1.0″
pixelhittest=”false”
smoothing=”true”
accuracy=”0″
alpha=”1.0″
autoalpha=”false”
usecontentsize=”false”
scale9grid=””
crop=””
onovercrop=””
ondowncrop=””
mask=””
effect=””
bgcolor=”0x000000″
bgalpha=”0.0″
bgborder=”0″
bgroundedge=”0″
bgshadow=””
bgcapture=”false”
onover=””
onhover=””
onout=””
onclick=””
ondown=””
onup=””
onloaded=””
/>

以下隐藏内容只提供VIP赞助会员,VIP会员说明请查看置顶文章

在 “layer元素说明文档(1.20)” 上有 2 条评论

发表评论