您的位置:首页 > 其它

krpano 教程 - textstyle标签中文说明

2016-04-11 00:40 417 查看
<textstyle name="..."                       定义样式名称
font="Times"                     定义文字字体
fontsize="12.0"                  定义文字大小
bold="true"                      是否粗体
italic="false"                   是否斜体
background="true"                是否加载文字背景
backgroundcolor="0xFFFFFF"       背景颜色
border="true"                    是否加载边框
bordercolor="0x000000"           边框颜色
textcolor="0x000000"             文字颜色
alpha="1.0"                      文字不透明度
blendmode="normal"               选择混合模式: "normal", "add", "difference", "multiply", "screen"
effect=""                        选择加载特效
•glow(color,alpha,range,strength);
•dropshadow(depth,angle,color,range,strength);
•blur(radius);

origin="cursor"                 文本原点位置 cursor(鼠标光标),lefttop, left, leftbottom,top, center, bottom, righttop, right, rightbottom
edge="bottom"                   底部阴影效果
textalign="none"                文本对齐方式 none, left, center, right
xoffset="0"                     文本原点位置X轴偏移量
yoffset="-3"                    文本原点位置Y轴偏移量
showtime="0.1"                  显示文本的时间
fadetime="0.0"                  文本淡出显示时间
fadeintime="0.0"                文本淡入显示时间
noclip="true"                   是否避免文字超出屏幕边缘
/>

定义文本样式,只在flash播放情况下有效

样例:

<textstyle name="DEFAULT"
font="Arial" fontsize="12"
bold="true" italic="true"
textcolor="0x000000"
background="false" border="false"
blendmode="layer"
effect="glow(0xFFFFFF,0.85,4,4);dropshadow(2,45,0x000000,4,1);"
origin="cursor" edge="bottom"
xoffset="15" yoffset="-5"
showtime="0.1" fadeintime="0.1" fadetime="0.1"
/>


免费全景教程资料下载:http://krpano.cc/teach
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: