°³Ã¼ÀÇ ³»¿ë¿¡ ºûÀÌ ºñÄ¡´Â °Í°ú °°Àº È¿°ú¸¦ ÁØ´Ù.
Script | object.style.filter='{progid:DXImageTransform.Microsoft.](propVal)' |
HTML | <ELEMENT style="filter:{progid:DXImageTransform.Microsoft.](propVal)"> |
Light ÇÊÅÍ ¿¹Á¦ |
progid:DXImageTransform.Microsoft. ºÎºÐÀº »ý·«ÀÌ °¡´ÉÇϳª ¼Ó¼º°ú È¿°ú°¡ ´Ù¼Ò ´Ù¸¦ ¼ö ÀÖ´Ù.
¾ÖÆ®¸®ºäÆ® | ¼Ó¼º | ¼³¸í |
---|---|---|
enabled | Enabled | ÇÊÅÍ°¡ ÀÛ¿ëÇÒ ¼ö ÀÖ°Ô ÇÒ °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. true: »ç¿ë°¡´É, false:»ç¿ë ºÒ°¡´É |
¸Þ¼µå | ¼³¸í |
---|---|
addAmbient | Light ÇÊÅÍ¿¡ ¹æÇ⼺ ¾ø´Â ÁÖÀ§ ±¤¼±À» Ãß°¡ÇÑ´Ù. |
addCone | °³Ã¼ÀÇ ³»¿ë¿¡ ¹æÇ⼺ÀÖ´Â ºûÀ» ºñÃß´Â È¿°ú¸¦ ³»µµ·Ï Àüµî °°Àº °í±òÀ» Ãß°¡ÇÑ´Ù. |
addPoint | °³Ã¼ÀÇ ³»¿ë¿¡ ÇÑ Á¡¿¡¼ »ç¹æÀ¸·Î ºûÀÌ ÆÛÁö´Â ±¤¿øÁ¡À» Ãß°¡ÇÑ´Ù. |
changeColor | ÇÊÅÍ ±¤¼±ÀÇ »ö»óÀ» º¯°æ ½ÃŲ´Ù. |
changeStrength | ÇÊÅÍ ±¤¿øÀÇ °µµ¸¦ º¯È½ÃŲ´Ù. |
clear | ¸ðµç Light ÇÊÅÍ¿Í °ü·ÃµÈ ±¤¼±À» Áö¿î´Ù. |
moveLight | Light ÇÊÅÍÀÇ °í±ò ±¤¼±À̳ª Á¡ ±¤¿øÀÇ ÃÊÁ¡ À§Ä¡¸¦ º¯°æ½ÃŲ´Ù. |
Light ÇÊÅÍÀÇ ¼Ó¼ºµéÀ» º¯°æ½ÃÅ°¹Ç·Î¼ ±¤¿øÀÇ À§Ä¡¸¦ Á¶ÀýÇÒ ¼ö ÀÖ°í, ÁÂÇ¥·Î ±¤¼±ÀÇ ÃÊÁ¡À» Á¶ÀýÇÒ ¼ö ÀÖÀ¸¸ç, ±¤¼±ÀÇ ÇüÅÂ, »ö»ó°ú ±¤µµ¸¦ Á¶ÀýÇÒ ¼ö ÀÖ´Ù.
°¢ ÇÊÅÍ´Â 10°³ ±îÁöÀÇ ±¤¼±À» °¡Áú ¼ö ÀÖÀ¸¸ç, ´õ ÀÌ»ó Ãß°¡ÇÏ·Á¸é º¹¼ö ÇÊ´õµéÀ» »ç¿ëÇÏ¿©¾ß ÇÑ´Ù.
Light ÇÊÅÍ°¡ »ý¼ºµÇ¸é µð½jÆ® ȯ°æ ±¤¼±ÀÌ Ãß°¡µÇ´Âµ¥, »õ·Î ¼³Á¤ ÇÒ ¼ö ÀÖ´Ù.
A, ACRONYM, ADDRESS, B, BDO, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, CUSTOM, DD, DEL, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FONT, FORM, FRAME, hn, I, IFRAME, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, INS, KBD, LABEL, LEGEND, LI, MARQUEE, MENU, NOBR, OL, OBJECT, P, plainText, PRE, Q, RT, RUBY, runtimeStyle, S, SAMP, SMALL, SPAN, STRIKE, STRONG, STYLE, SUB, SUP, TABLE, TD, TEXTAREA, TH, TT, U, UL, VAR, XMP |
<BODY onload=doPlay(1)> <SCRIPT> function doPlay(job){ if (job==2){ divObj.filters[0].clear(); job=1; } if(!job) divObj.filters[0].Enabled=false; else if (job==1){ litX=0; litY=0; axis=30; toX=divObj.offsetWidth; toY=divObj.offsetHeight; cRed=255; cGreen=20; cBlue=5; strength=100; angle=30; divObj.filters[0].Enabled=true; divObj.filters[0].addCone(litX,litY,axis,toX,toY,cRed,cGreen,cBlue,strength,angle); }; str=''; str+='filter='+divObj.style.filter+'<BR>'; str+='¢¡ Enabled=('+divObj.filters[0].Enabled+'), '; str+='background=('+divObj.style.backgroundColor+'), color=('+divObj.style.color+')<BR>'; str+='divObj.filters[0].addCone('+litX+','+litY+','+axis+','+toX+','+toY+','+cRed+','+cGreen+','+cBlue+','+strength+','+angle+')'; show.innerHTML=str; } </SCRIPT> <STYLE> .divClass {width:450;height:300;font-size:30;line-height:1.2em;font-weight:bold;;padding:9} </STYLE> <DIV id="divObj" class="divClass" style="filter:Light();color:blue;background-color:aqua;"> <IMG src=../../gif/rfexample.gif width=100><BR> Light ÇÊÅÍ ¿¹Á¦ </DIV> <BUTTON onclick="doPlay(0)" style="width:150">Á¤»ó À̹ÌÁö</BUTTON> <BUTTON onclick="doPlay(1)" style="width:150">Light ÇÊÅÍ È¿°ú</BUTTON> <BUTTON onclick="doPlay(2)" style="width:150">ÃʱâÈ</BUTTON><BR> <DIV id=show style="width:450;height:70;border:solid 1 blue;padding:3">ÇÊÅÍ Ç¥½Ãâ</DIV>