°³Ã¼ÀÇ ³»¿ëÀÇ Å©±â Á¶Á¤, ȸÀü, ¿ªÈ¸Àüµî º¯È¯ÇÏ¿© Ç¥ÇöÇÑ´Ù.
Script | object.style.filter='progid:DXImageTransform.Microsoft.(propVal)' |
HTML | <ELEMENT style="filter:progid:DXImageTransform.Microsoft.(propVal)"> |
¾ÖÆ®¸®ºäÆ® | ¼Ó¼º | ¼³¸í |
---|---|---|
Dx | Dx | ¼±Çü º¯ÇüÀÇ Àμö º¤ÅÍ X ºÎºÐÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. |
Dy | Dy | ¼±Çü º¯ÇüÀÇ Àμö º¤ÅÍ Y ºÎºÐÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. |
enabled | Enabled | ÇÊÅÍ°¡ ÀÛ¿ëÇÒ ¼ö ÀÖ°Ô ÇÒ °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. true: »ç¿ë°¡´É, false:»ç¿ë ºÒ°¡´É |
FilterType | FilterType | º¯È¯ÇÏ¿© ¸¸µé¾îÁø »õ·Î¿î Çȼ¿ÀÇ Á¤ÀÇ¿¡ »ç¿ëµÈ ¹æ½ÄÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. |
M11 | M11 | ÁÙÀÇ º¯È¯¿¡¼ ù¹ø° ÁÙ/ ù¹ø° Ä÷³ÀÇ ºñÀ²À» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. |
M12 | M12 | ÁÙÀÇ º¯È¯¿¡¼ ù¹ø° ÁÙ/ µÎ¹ø° Ä÷³ÀÇ ºñÀ²À» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. |
M21 | M21 | ÁÙÀÇ º¯È¯¿¡¼ µÎ¹ø¹ø° ÁÙ/ ù¹ø° Ä÷³ÀÇ ºñÀ²À» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. |
M22 | M22 | ÁÙÀÇ º¯È¯¿¡¼ µÎ¹ø° ÁÙ/ µÎ¹ø° Ä÷³ÀÇ ºñÀ²À» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. |
SizingMethod | SizingMethod | °á°ú À̹ÌÁö¿¡ µû¶ó ¿ë±â °³Ã¼ÀÇ Å©±â°¡ Á¶Á¤µÇ´Â°¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. |
Matrix ÇÊÅÍ »ç¿ëÀÇ °£´ÜÇÑ ¹æ¹ý.
À̵é È¿°ú´Â ¼±»ó º¯È¯À¸·Î °¡´ÉÇÏ´Ù. Matrix ÇÊÅÍ´Â µð½ºÇ÷¹ÀÌµÈ ³»¿ëÀÇ ¼±»ó º¤ÅÍ(linear vector) 2x2 ¸¶Æ®¸¯½º(matrix)¿¡ ÀÇÇØ ¼±»ó º¯È¯À» »ý¼ºÇÑ´Ù. ¼±»ó ³í¸®¸¦ Àß ¾Ë¾Æ¾ß ¼±»ó º¯È¯ÀÇ ÃÖ´ëÀÇ È¿°ú¸¦ ³¾ ¼ö ÀÖÁö¸¸, À§¿¡ ¼³¸íÇÑ °£´ÜÇÑ ¹æ½ÄÀ¸·Î »ç¿ëÇÒ ¼ö ÀÖ´Ù.
ÃÖÁ¾ À̹ÌÁö´Â ¿øº» À̹ÌÁöÀÇ ÇÊÅÍ¿¡ ÀÇÇØ º¯È¯µÈ Ç¥ÇöÀÌ´Ù. padding ½ºÅ¸ÀÏ ¼Ó¼ºÀ» »ç¿ëÇÏ¿© ÃÖÁ¾ À̹ÌÁöÀÇ À߸²À» ÃÖ¼ÒÈ ÇÒ ¼ö ÀÖ´Ù.
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, FRAMESET, 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, S, SAMP, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TD, TEXTAREA, TH, TT, U, UL, VAR, XMP |
Matrix ÇÊÅÍ¿¡¼ Å©±â¸¦ Á¶ÀýÇϱâ À§Çؼ´Â M11=2,M12=1,M21=0,M22=2µî ÀԷ»çÇ×ÀÌ ÇÊ¿äÇÏ´Ù.
°øÅë º¯¼ö¸¦ °¢ ºñÀ²¿¡ °öÇÏ¿© Matrix ÇÊÅÍ·Î Å©±â¸¦ Á¶Á¤ÇÒ ¼ö ÀÖ´Ù. multiX °ª¿¡ ÀÇÇÏ¿© ¿ø·¡ ³»¿ëÀÌ È®´ëµÇ°Å³ª Ãà¼ÒµÈ´Ù.
<SCRIPT> var org1Mx=new Array(); function doResize(job,obj,multiX){ if (org1Mx=='') org1Mx.push(obj.filters.item(0).M11,obj.filters.item(0).M12,obj.filters.item(0).M21,obj.filters.item(0).M22); if (job==2){org1Mx.splice(0,4,'2','1','0','2');} if (job==3){org1Mx.splice(0,4,'0','1','1','1');job=2;} if (job==4){org1Mx.splice(0,4,'1','0','1','1');job=2;} if (job==5){org1Mx.splice(0,4,'1','1','0','1');job=2;} if (job==6){org1Mx.splice(0,4,'1','1','1','0');job=2;} if (job==7){org1Mx.splice(0,4,'1','0','0','1');job=2;} if (job==8){org1Mx.splice(0,4,'0','1','1','0');job=2;} if (job==9){org1Mx.splice(0,4,'2','1','1','2');job=2;} if (job==10){org1Mx.splice(0,4,'1','2','1','.1');job=2;} if (!job) obj.filters[0].Enabled=false; else { obj.filters[0].Enabled=true; if (job==1){ obj.filters.item(0).M11 *=multiX; obj.filters.item(0).M12 *=multiX; obj.filters.item(0).M21 *=multiX; obj.filters.item(0).M22 *=multiX; } else if (job==2){ obj.filters.item(0).M11=org1Mx[0]; obj.filters.item(0).M12=org1Mx[1]; obj.filters.item(0).M21=org1Mx[2]; obj.filters.item(0).M22=org1Mx[3]; } } str=''; str+='obj.style.filter='+obj.style.filter+'<BR>'; str+='¢¡Enabled=('+obj.filters[0].Enabled+'), '; str+='multiX=('+multiX+'), '; str+='M11=('+obj.filters.item(0).M11+'), '; str+='M12=('+obj.filters.item(0).M12+'), '; str+='M21=('+obj.filters.item(0).M21+'), '; str+='M22=('+obj.filters.item(0).M22+')'; show1.innerHTML=str; } </SCRIPT> <STYLE>.butClass{width:150}</STYLE> <DIV id="obj1" style="width:600;height:400;font-size:10;line-height:1.2em;font-wright:bold;background-color:pink; filter:progid:DXImageTransform.Microsoft.Matrix(M11=2,M12=1,M21=0,M22=2)"> <IMG src=../../gif/rfexample.gif><BR> Matrix ÇÊÅÍ ¿¹Á¦ </DIV> <BUTTON onClick="doResize(0,obj1,2)" class="butClass">Á¤»ó À̹ÌÁö</BUTTON> <BUTTON onclick="doResize(1,obj1,2)" class="butClass">È®´ë ÇÊÅÍ È¿°ú</BUTTON> <BUTTON onclick="doResize(1,obj1,.5)" class="butClass">Ãà¼Ò ÇÊÅÍ È¿°ú</BUTTON> <BUTTON onclick="doResize(2,obj1,2)" class="butClass">ÃʱâÈ A</BUTTON><BR> <BUTTON onclick="doResize(3,obj1,2)" class="butClass">ÃʱâÈ B</BUTTON> <BUTTON onclick="doResize(4,obj1,2)" class="butClass">ÃʱâÈ C</BUTTON> <BUTTON onclick="doResize(5,obj1,2)" class="butClass">ÃʱâÈ D</BUTTON> <BUTTON onclick="doResize(6,obj1,2)" class="butClass">ÃʱâÈ E</BUTTON><BR> <BUTTON onclick="doResize(7,obj1,2)" class="butClass">ÃʱâÈ F</BUTTON> <BUTTON onclick="doResize(8,obj1,2)" class="butClass">ÃʱâÈ G</BUTTON> <BUTTON onclick="doResize(9,obj1,2)" class="butClass">ÃʱâÈ H</BUTTON> <BUTTON onclick="doResize(10,obj1,2)" class="butClass">ÃʱâÈ I</BUTTON> <DIV id=show1 style="width:600;height:45;border:solid 1 blue;padding:3;font-size:90%">ÇÊÅÍ Ç¥½Ãâ</DIV>