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
krpano元素之textstyle標籤
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.