|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.awt.image.ColorModel
java.awt.image.IndexColorModel
public class IndexColorModel
IndexColorModel
Ŭ·¡½º´Â µðÆúÆ®ÀÇ sRGB Ä÷¯ ¿µ¿ªÀÇ °íÁ¤ Ä÷¯ ¸Ê¿¡ ´ëÇÑ À妽ºÀÎ, ´ÜÀÏÀÇ »ùÇ÷κÎÅÍ µÇ´Â Çȼ¿Ä¡¸¦ Ãë±ÞÇÏ´Â ColorModel
Ŭ·¡½ºÀÔ´Ï´Ù. Ä÷¯ ¸ÊÀº Àû, ·Ï, ûÀÇ »ö¼ººÐ ¹× °¢ À妽º¿¡ ´ëÀÀÇÏ´Â ÀÓÀÇÀÇ ¾ËÆÄ ¼ººÐÀ» ÁöÁ¤ÇÕ´Ï´Ù. ¼ººÐÀº ¸ðµÎ, Ä÷¯ ¸Ê³»ÀÇ 8 ºñÆ®ÀÇ ºÎÈ£ ¾øÀ½ Á¤¼ö°ªÀ¸·Î
Ç¥ÇöµË´Ï´Ù. ¸î°³ÀÇ »ý¼ºÀÚ¿¡¼´Â È£ÃâÃøÀÌ, BigInteger
°´Ã¼·Î ¼³Á¤µÈ ºñÆ®¿¡ÀÇÇØ ¾î´À Ä÷¯ ¸Ê ¿£Æ®¸®°¡ À¯È¿ÇѰ¡ ¹× ¾î´À Ä÷¯ ¸Ê ¿£Æ®¸®°¡ »ç¿ë ºÒ°¡´ÉÇÑ »öÀ» ³ªÅ¸³»°í ÀÖ´ÂÁö¸¦ ³ªÅ¸³»´Â °Í¿¡ÀÇÇØ Ä÷¯ ¸ÊÀÇ ¡¸±¸¸Û¡¹À» ÁöÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÌ Ä÷¯ ¸ðµ¨Àº X11
PseudoColor¿Í
°°Àº °ÍÀÔ´Ï´Ù.
»ý¼ºÀÚ¿¡ µû¶ó¼´Â Ä÷¯ ¸ÊÀÇ °¢ Çȼ¿ÀÇ ¾ËÆÄ ¼ººÐÀ» ÁöÁ¤ÇÏ´Â ¼ö´ÜÀ» Á¦°øÇϰí ÀÖ´Â °Íµµ ÀÖ½À´Ï´Ù¸¸, ±×·¯ÇÑ ¼ö´ÜÀ» Á¦°øÇÏÁö ¾Ê´Â »ý¼ºÀÚ°¡³ª, °æ¿ì¿¡ µû¶ó¼´Â Ä÷¯ ¸Ê µ¥ÀÌÅÍ¿¡ ¾ËÆÄ°ªÀÌ
Æ÷ÇԵǰí ÀÖ´ÂÁö¸¦ ³ªÅ¸³»´Â Ç÷¡±×¸¦ Á¦°øÇÏ´Â »ý¼ºÀÚ
µµ ÀÖ½À´Ï´Ù. »ý¼ºÀÚ¿¡ ¾ËÆÄ°¡ ÁöÁ¤µÇÁö ¾Ê´Â °æ¿ì´Â °¢ ¿£Æ®¸®¿¡ ºÒÅõ¸íÇÑ ¾ËÆÄ ¼ººÐ (¾ËÆÄ = 1.0)ÀÌ ÁöÁ¤µÇ°í ÀÖ´Ù°í º¸¿©Áý´Ï´Ù. ¿É¼ÇÀ¸·Î¼ Åõ¸í Çȼ¿ÀÇ °ªÀ» ÁöÁ¤ÇØ, ±× Çȼ¿Ä¡·Î ÁöÁ¤ ¶Ç´Â »óÁ¤µÈ ¾ËÆÄ ¼ººÐÀÌ ¾î¶² °ÍÀ̾, ¿ÏÀüÇÏ°Ô Åõ¸íÇÏ°Ô ÇÏ´Â Çȼ¿ÀÎ °ÍÀ» ³ªÅ¸³¾ ¼ö°¡ ÀÖ½À´Ï´Ù. IndexColorModel
°´Ã¼ÀÇ Ä÷¯ ¸ÊÀÇ »ö¼ººÐÀº ¾ËÆÄ ¼ººÐ¿¡ ÀÇÇØ ¹Ì¸® °ö¼ÀµÉ °ÍÀº ¾ø½À´Ï´Ù.
IndexColorModel
°´Ã¼°¡ Transparency.OPAQUE
Åõ¸íµµÀÇ °ªÀ» °¡Áö´Â °æ¿ì, hasAlpha
¸Þ¼µå ¹× getNumComponents
¸Þ¼µå (ÇÔ²² ColorModel
·Î
ºÎÅÍ »ó¼ÓµÈ´Ù)´Â °¢°¢ false ¹× 3À» ¸®ÅÏÇÕ´Ï´Ù. ´Ù¸¥ Åõ¸íµµÀÇ °ªÀÇ °æ¿ì, hasAlpha
¸Þ¼µå´Â true¸¦ µ¹·ÁÁÖ°í, getNumComponents
¸Þ¼µå´Â 4¸¦ ¸®ÅÏÇÕ´Ï´Ù.
Çȼ¿Ä¡·Î Ç¥ÇöµÇ´Â À妽º´Â ÀÌ Å¬·¡½ºÀÇ ¸Þ¼µå¿¡°Ô °Ç³×Áö´Â Çȼ¿ Ç¥ÇöÀÇ ÃÖÇÏÁ¤µµÀÇ n ºñÆ®¿¡ Æ÷ÇԵ˴ϴÙ. ´Ù¸¸, n´Â ƯÁ¤ÀÇ IndexColorModel
°´Ã¼ÀÇ »ý¼ºÀÚ
À¸·Î ÁöÁ¤µÇ´Â Çȼ¿ »çÀÌÁî·Î n´Â 1 ~ 16
»çÀÌ·Î ÇÑÁ¤µË´Ï´Ù. Çȼ¿ Ç¥ÇöÀÇ »óÀ§ ºñÆ®´Â Á¦·Î·Î º¸¿©Áý´Ï´Ù. transferType
ÇüÀÇ ¿ø½ÃÀû ¹è¿ÀÇ Çȼ¿ Ç¥ÇöÀ» »ç¿ëÇÏ´Â ¸Þ¼µå¿¡¼´Â ¹è¿ÀåÀº Ç×»ó 1 ÀÔ´Ï´Ù. Áö¿øµÇ´Â Àü¼ÛÇüÀº, DataBuffer.TYPE_BYTE
¹× DataBuffer.TYPE_USHORT
ÀÔ´Ï´Ù. ÀÌ Å¬·¡½º¿¡¼ »ç¿ëÇÏ´Â Çȼ¿Ä¡´Â Ç×»ó ´ÜÀÏÀÇ int ·Î¼ Ç¥ÇöÇÒ ¼ö ÀÖÀ¸¹Ç·Î ´ÜÀÏÀÇ int Çȼ¿ Ç¥ÇöÀº ÀÌ Å¬·¡½ºÀÇ ¸ðµç °´Ã¼·Î À¯È¿ÇÕ´Ï´Ù. ÀÌ ¶§¹®¿¡
ÀÌ Ç¥ÇöÀ» »ç¿ëÇÏ´Â ¸Þ¼µå´Â ¹«È¿ÀÎ Çȼ¿°ªÀÌ ÀÖ´Â °æ¿ìµµ IllegalArgumentException
À»
Throw ÇÏÁö ¾Ê½À´Ï´Ù.
ÀÌ Å¬·¡½ºÀÇ ¸Þ¼µåÀÇ »ó´ç¼ö´Â final ÀÔ´Ï´Ù. ±× ÀÌÀ¯´Â ÇÏÀ§ÀÇ ³×ÀÌÆ¼ºêÀÎ ±×·¡ÇÈÀÇ Äڵ尡 ÀÌ Å¬·¡½ºÀÇ ¼³°è¿Í Á¶ÀÛ¿¡ °üÇÑ ÀüÁ¦°¡ µÇ¾î, ÀÌ·¯ÇÑ ÀüÁ¦°¡ ÀÌ Å¬·¡½º¿¡¼ final°¡ µÇ¾î ÀÖ´Â ¸Þ¼µåÀÇ ±¸Çö¿¡ ¹Ý¿µµÇ°í Àֱ⠶§¹®ÀÔ´Ï´Ù. ÀÌ Å¬·¡½º¸¦ ´Ù¸¥ ÀÌÀ¯·Î½á »ó¼ÓÇÒ ¼ö ÀÖ½À´Ï´Ù¸¸, final ÀÎ ¸Þ¼µåÀÇ µ¿ÀÛÀ» ¿À¹ö¶óÀ̵å(override) Çϰųª º¯°æÇÒ ¼ö ¾ø½À´Ï´Ù.
ColorModel
,
ColorSpace
,
DataBuffer
ÇÊµå °³¿ä |
---|
Ŭ·¡½º java.awt.image. ColorModel ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
pixel_bits,
transferType |
ÀÎÅÍÆäÀ̽º java.awt. Transparency ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
BITMASK,
OPAQUE,
TRANSLUCENT |
»ý¼ºÀÚ °³¿ä | |
---|---|
IndexColorModel (int bits,
int size,
byte[] r,
byte[] g,
byte[] b)
ÁöÁ¤µÈ Àû»ö, ³ì»ö, û»öÀÇ »ö¼ººÐÀÇ ¹è¿·ÎºÎÅÍ IndexColorModel À»
±¸ÃàÇÕ´Ï´Ù. |
|
IndexColorModel (int bits,
int size,
byte[] r,
byte[] g,
byte[] b,
byte[] a)
ÁöÁ¤µÈ Àû»ö, ³ì»ö, û»öÀÇ »ö¼ººÐÀÇ ¹è¿·ÎºÎÅÍ IndexColorModel À»
±¸ÃàÇÕ´Ï´Ù. |
|
IndexColorModel (int bits,
int size,
byte[] r,
byte[] g,
byte[] b,
int trans)
ÁöÁ¤µÈ Àû»ö, ³ì»ö, û»öÀÇ »ö¼ººÐÀÇ ¹è¿·ÎºÎÅÍ IndexColorModel À»
±¸ÃàÇÕ´Ï´Ù. |
|
IndexColorModel (int bits,
int size,
byte[] cmap,
int start,
boolean hasalpha)
ÀΟ¸®ºêÈ Çü½Ä¿¡¼ Æ÷ÇԵǰí ÀÖ´Â Àû»ö, ³ì»ö, û»öÀÇ »ö¼ººÐ ¹× ¿É¼ÇÀÇ ¾ËÆÄ ¼ººÐÀ¸·ÎºÎÅÍ µÇ´Â 1°³ÀÇ ¹è¿·ÎºÎÅÍ IndexColorModel À»
±¸ÃàÇÕ´Ï´Ù. |
|
IndexColorModel (int bits,
int size,
byte[] cmap,
int start,
boolean hasalpha,
int trans)
ÀΟ¸®ºêÈ Çü½Ä¿¡¼ Æ÷ÇԵǰí ÀÖ´Â Àû»ö, ³ì»ö, û»öÀÇ »ö¼ººÐ ¹× ¿É¼ÇÀÇ ¾ËÆÄ ¼ººÐÀ¸·ÎºÎÅÍ µÇ´Â 1°³ÀÇ ¹è¿·ÎºÎÅÍ IndexColorModel À»
±¸ÃàÇÕ´Ï´Ù. |
|
IndexColorModel (int bits,
int size,
int[] cmap,
int start,
boolean hasalpha,
int trans,
int transferType)
int ¹è¿·ÎºÎÅÍ IndexColorModel À»
±¸ÃàÇÕ´Ï´Ù. |
|
IndexColorModel (int bits,
int size,
int[] cmap,
int start,
int transferType,
BigInteger validBits)
int
¹è¿·ÎºÎÅÍ IndexColorModel À»
±¸ÃàÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
BufferedImage |
convertToIntDiscrete (Raster raster,
boolean forceARGB)
¼Ò½º Raster
À妽º¸¦ Àü°³ÇØ °è»êÇÑ Çȼ¿ µ¥ÀÌÅÍ Ã·ºÎÀÇ Raster ¸¦ °¡Áö´Â TYPE_INT_ARGB ¶Ç´Â TYPE_INT_RGB
»õ·Î¿î BufferedImage ¸¦, ÀÌ ColorModel
»ö¼ººÐ°ú ¾ËÆÄ ¼ººÐÀÇ ¹è¿À» »ç¿ëÇØ ¸®ÅÏÇÕ´Ï´Ù. |
SampleModel |
createCompatibleSampleModel (int w,
int h)
ÀÌ ColorModel ¿Í
ȣȯ¼ºÀÌ ÀÖ´Â µ¥ÀÌÅÍ ·¹À̾ƿôÀ» °¡Áö´Â ÁöÁ¤µÈ Æø°ú ³ôÀÌÀÇ SampleModel À»
ÀÛ¼ºÇÕ´Ï´Ù. |
WritableRaster |
createCompatibleWritableRaster (int w,
int h)
ÁöÁ¤µÈ Æø°ú ³ôÀÌ·Î ÀÌ ColorModel ¿Í
ȣȯ¼ºÀÌ ÀÖ´Â µ¥ÀÌÅÍ ·¹À̾ƿô SampleModel À»
°¡Áö´Â WritableRaster ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
void |
finalize ()
ÀÌ ColorModel °¡ ÂüÁ¶µÇÁö ¾Ê°Ô µÇ¾úÀ» ¶§¿¡
°ü·ÃÇÑ system resource¸¦ ÆÄ±âÇÕ´Ï´Ù. |
int |
getAlpha (int pixel)
ÁöÁ¤µÈ Çȼ¿ÀÇ ¾ËÆÄ ¼ººÐÀ» 0 ~ 255 ¹üÀ§¿¡¼ ½½Ä¶¸µÀÇÇØ ¸®ÅÏÇÕ´Ï´Ù. |
void |
getAlphas (byte[] a)
¾ËÆÄÀÇ Åõ¸í ¼ººÐÀÇ ¹è¿ÀÌ ÁöÁ¤µÈ ¹è¿¿¡ Ä«ÇÇÇÕ´Ï´Ù. |
int |
getBlue (int pixel)
ÁöÁ¤µÈ Çȼ¿ÀÇ ÆÄ¶ûÀÇ »ö¼ººÐÀ» µðÆúÆ®ÀÇ RGB ColorSpace, Áï sRGB 0 ~ 255 ¹üÀ§¿¡¼ ½½Ä¶¸µÀÇÇØ ¸®ÅÏÇÕ´Ï´Ù. |
void |
getBlues (byte[] b)
ÆÄ¶ûÀÇ »ö¼ººÐÀÇ ¹è¿ÀÌ ÁöÁ¤µÈ ¹è¿¿¡ Ä«ÇÇÇÕ´Ï´Ù. |
int[] |
getComponents (int pixel,
int[] components,
int offset)
ÀÌ ColorModel
ÁöÁ¤µÈ Çȼ¿ÀÇ Ç¥ÁØÈµÇ¾î ÀÖÁö ¾ÊÀº »ö¼ººÐ°ú ¾ËÆÄ ¼ººÐÀÇ ¹è¿À» ¸®ÅÏÇÕ´Ï´Ù. |
int[] |
getComponents (Object pixel,
int[] components,
int offset)
ÀÌ ColorModel
ÁöÁ¤µÈ Çȼ¿¿¡ ´ëÇØ, Ç¥ÁØÈµÇ¾î ÀÖÁö ¾ÊÀº »ö¼ººÐ°ú ¾ËÆÄ ¼ººÐÀÇ ¹è¿À» ¸®ÅÏÇÕ´Ï´Ù. |
int[] |
getComponentSize ()
»ö¼ººÐÀ̳ª ¾ËÆÄ ¼ººÐ¿¡ ´ëÇØ 1 ¼ººÐ ±ÙóÀÇ ºñÆ®¼öÀÇ ¹è¿À» ¸®ÅÏÇÕ´Ï´Ù. |
int |
getDataElement (int[] components,
int offset)
ÁöÁ¤µÈ, Ç¥ÁØÈµÇ¾î ÀÖÁö ¾ÊÀº »ö¼ººÐ°ú ¾ËÆÄ ¼ººÐÀÇ ¹è¿¿¡ ´ëÇØ, ÀÌ ColorModel
int ·Î¼ Ç¥ÇöµÇ´Â Çȼ¿Ä¡¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Object |
getDataElements (int[] components,
int offset,
Object pixel)
Ç¥ÁØÈµÇ¾î ÀÖÁö ¾ÊÀº »ö¼ººÐ ¹× ¾ËÆÄ ¼ººÐÀÇ ¹è¿À» ÁöÁ¤ÇØ, ÀÌ ColorModel
Çȼ¿ÀÇ µ¥ÀÌÅÍ ¿ä¼Ò ¹è¿ Ç¥ÇöÀ» ¸®ÅÏÇÕ´Ï´Ù. |
Object |
getDataElements (int rgb,
Object pixel)
ÁöÁ¤µÈ µðÆúÆ®ÀÇ RGB Ä÷¯ ¸ðµ¨ÀÇ Á¤¼ö Çȼ¿ Ç¥Çö¿¡ ´ëÇØ, ÀÌ ColorModel Çȼ¿ÀÇ µ¥ÀÌÅÍ ¿ä¼Ò ¹è¿ Ç¥ÇöÀ» ¸®ÅÏÇÕ´Ï´Ù. |
int |
getGreen (int pixel)
ÁöÁ¤µÈ Çȼ¿ÀÇ ÃÊ·ÏÀÇ »ö¼ººÐÀ» µðÆúÆ®ÀÇ RGB ColorSpace, Áï sRGB 0 ~ 255 ¹üÀ§¿¡¼ ½½Ä¶¸µÀÇÇØ ¸®ÅÏÇÕ´Ï´Ù. |
void |
getGreens (byte[] g)
ÃÊ·ÏÀÇ »ö¼ººÐÀÇ ¹è¿ÀÌ ÁöÁ¤µÈ ¹è¿¿¡ Ä«ÇÇÇÕ´Ï´Ù. |
int |
getMapSize ()
ÀÌ IndexColorModel ³»ÀÇ »ö¼ººÐ°ú ¾ËÆÄ ¼ººÐÀÇ ¹è¿ÀÇ Å©±â¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
int |
getRed (int pixel)
ÁöÁ¤µÈ Çȼ¿ÀÇ »¡°ÀÇ »ö¼ººÐÀ» µðÆúÆ®ÀÇ RGB ColorSpace, Áï sRGB 0 ~ 255 ¹üÀ§¿¡¼ ½½Ä¶¸µÀÇÇØ ¸®ÅÏÇÕ´Ï´Ù. |
void |
getReds (byte[] r)
»¡°ÀÇ »ö¼ººÐÀÇ ¹è¿ÀÌ ÁöÁ¤µÈ ¹è¿¿¡ Ä«ÇÇÇÕ´Ï´Ù. |
int |
getRGB (int pixel)
Çȼ¿ÀÇ »ö¼ººÐ°ú ¾ËÆÄ ¼ººÐÀ» µðÆúÆ®ÀÇ RGB Ä÷¯ ¸ðµ¨ Çü½Ä¿¡¼ ¸®ÅÏÇÕ´Ï´Ù. |
void |
getRGBs (int[] rgb)
°¢ À妽ºÀÇ µ¥ÀÌÅ͸¦ »ö¼ººÐ°ú ¾ËÆÄ ¼ººÐÀÇ ¹è¿·ÎºÎÅÍ µðÆúÆ®ÀÇ RGB ColorModel Çü½ÄÀÇ int ·Î º¯È¯ÇØ, ±× °á°úÀÇ 32 ºñÆ® ARGB °ªÀÌ ÁöÁ¤µÈ ¹è¿¿¡ Ä«ÇÇÇÕ´Ï´Ù. |
int |
getTransparency ()
Åõ¸íµµ¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
int |
getTransparentPixel ()
ÀÌ IndexColorModel ³»ÀÇ Åõ¸í Çȼ¿ÀÇ À妽º¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
BigInteger |
getValidPixels ()
Ä÷¯ ¸ÊÀÇ À¯È¿/¹«È¿ Çȼ¿À» ³ªÅ¸³»´Â BigInteger ¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
boolean |
isCompatibleRaster (Raster raster)
raster °¡ ÀÌ ColorModel ¿Í
ȣȯ¼ºÀÌ ÀÖ´Â °æ¿ì¿¡´Â true ¸¦ µ¹·ÁÁÖ°í, ±×·¸Áö ¾ÊÀº °æ¿ì¿¡´Â false ¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
boolean |
isCompatibleSampleModel (SampleModel sm)
SampleModel °¡ ÀÌ ColorModel ¿Í
ȣȯ¼ºÀÌ ÀÖÀ»Áö ¾î¶³Áö¸¦ Á¶»çÇÕ´Ï´Ù. |
boolean |
isValid ()
¸ðµç Çȼ¿ÀÌ À¯È¿ÇѰ¡ ¾î¶²°¡¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
boolean |
isValid (int pixel)
Çȼ¿ÀÌ À¯È¿ÇѰ¡ ¾î¶²°¡¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
String |
toString ()
ÀÌ ColorModel °´Ã¼ÀÇ ³»¿ëÀ» ³ªÅ¸³»´Â String ¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Ŭ·¡½º java.awt.image. ColorModel ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
coerceData,
equals,
getAlpha,
getAlphaRaster,
getBlue,
getColorSpace,
getComponentSize,
getDataElement,
getDataElements,
getGreen,
getNormalizedComponents,
getNormalizedComponents,
getNumColorComponents,
getNumComponents,
getPixelSize,
getRed,
getRGB,
getRGBdefault,
getTransferType,
getUnnormalizedComponents,
hasAlpha,
hashCode,
isAlphaPremultiplied |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
public IndexColorModel(int bits, int size, byte[] r, byte[] g, byte[] b)
IndexColorModel
À»
±¸ÃàÇÕ´Ï´Ù. ÀÌ Ä÷¯ ¸ðµ¨¿¡ ÀÇÇØ ±â¼úµÇ´Â Çȼ¿Àº ¸ðµÎ, Á¤±ÔȵǾî ÀÖÁö ¾ÊÀº 255 (1.0 Ç¥ÁØÈ)ÀÇ ¾ËÆÄ ¼ººÐÀ» °¡Áý´Ï´Ù. Áï, ¿ÏÀüÇÏ°Ô ºÒÅõ¸íÇÕ´Ï´Ù. »ö¼ººÐÀ» ÁöÁ¤ÇÏ´Â ¸ðµç ¹è¿Àº Àû¾îµµ ÁöÁ¤µÈ ¿£Æ®¸®¼ö¸¦ °¡Áú Çʿ䰡 ÀÖ½À´Ï´Ù. ColorSpace
´Â µðÆúÆ®ÀÇ sRGB ¿µ¿ªÀÌ µË´Ï´Ù. ÀÌ »ý¼ºÀÚ¿¡ÀÇ ¾î´À Àμö¿¡µµ ¾ËÆÄ Á¤º¸°¡ ¾ø±â ¶§¹®¿¡
Åõ¸íµµÀÇ °ªÀº Ç×»ó Transparency.OPAQUE
°¡ µË´Ï´Ù. Àü¼ÛÇüÀº ´ÜÀÏÀÇ Çȼ¿À» Æ÷ÇÔÇÒ ¼ö ÀÖ´Â DataBuffer.TYPE_BYTE
¶Ç´Â DataBuffer.TYPE_USHORT
ÃÖ¼ÒÀÇ °ÍÀÌ µË´Ï´Ù.
bits
- 1 Çȼ¿ ±ÙóÀÇ ºñÆ®¼ösize
- »ö¼ººÐÀÇ ¹è¿ÀÇ Å©±âr
- Àû»ö ¼ººÐÀÇ ¹è¿g
- ³ì»ö ¼ººÐÀÇ ¹è¿b
- û»ö ¼ººÐÀÇ ¹è¿
IllegalArgumentException
- bits
°¡ 1 º¸´Ù ÀÛÀºÁö, 16 º¸´Ù Å« °æ¿ì
IllegalArgumentException
- size
°¡ 1 ¹Ì¸¸ÀÇ °æ¿ìpublic IndexColorModel(int bits, int size, byte[] r, byte[] g, byte[] b, int trans)
IndexColorModel
À»
±¸ÃàÇÕ´Ï´Ù. ÀÌ Ä÷¯ ¸ðµ¨¿¡ ÀÇÇØ ±â¼úµÇ´Â Çȼ¿Àº ¸ðµÎ, Á¤±ÔȵǾî ÀÖÁö ¾ÊÀº 255 (1.0 Á¤±ÔÈ)ÀÇ ¾ËÆÄ ¼ººÐÀ» °¡Áý´Ï´Ù. Áï, Åõ¸íÇÏ°Ô ÁöÁ¤µÈ Çȼ¿ Àܴ̿ ¿ÏÀüÇÏ°Ô ºÒÅõ¸íÇÕ´Ï´Ù. »ö¼ººÐÀ» ÁöÁ¤ÇÏ´Â ¸ðµç ¹è¿Àº Àû¾îµµ ÁöÁ¤µÈ ¿£Æ®¸®¼ö¸¦ °¡Áú Çʿ䰡 ÀÖ½À´Ï´Ù. ColorSpace
´Â µðÆúÆ®ÀÇ sRGB ¿µ¿ªÀÌ µË´Ï´Ù. »ó±âÀÇ Å¬·¡½ºÀÇ ¼³¸í¿¡ ³ªÅ¸³»µµ·Ï, Åõ¸íµµÀÇ °ªÀº Àμö¿¡ ÀÀÇØ Transparency.OPAQUE
¶Ç´Â Transparency.BITMASK
°¡ µË´Ï´Ù. Àü¼ÛÇüÀº ´ÜÀÏÀÇ Çȼ¿À» Æ÷ÇÔÇÒ ¼ö ÀÖ´Â DataBuffer.TYPE_BYTE
¶Ç´Â DataBuffer.TYPE_USHORT
ÃÖ¼ÒÀÇ °ÍÀÌ µË´Ï´Ù.
bits
- 1 Çȼ¿ ±ÙóÀÇ ºñÆ®¼ösize
- »ö¼ººÐÀÇ ¹è¿ÀÇ Å©±âr
- Àû»ö ¼ººÐÀÇ ¹è¿g
- ³ì»ö ¼ººÐÀÇ ¹è¿b
- û»ö ¼ººÐÀÇ ¹è¿trans
- Åõ¸í Çȼ¿ÀÇ À妽º
IllegalArgumentException
- bits
°¡ 1 º¸´Ù ÀÛÀºÁö, 16 º¸´Ù Å« °æ¿ì
IllegalArgumentException
- size
°¡ 1 ¹Ì¸¸ÀÇ °æ¿ìpublic IndexColorModel(int bits, int size, byte[] r, byte[] g, byte[] b, byte[] a)
IndexColorModel
À»
±¸ÃàÇÕ´Ï´Ù. »ö¼ººÐÀ» ÁöÁ¤ÇÏ´Â ¸ðµç ¹è¿Àº Àû¾îµµ ÁöÁ¤µÈ ¿£Æ®¸®¼ö¸¦ °¡Áú Çʿ䰡 ÀÖ½À´Ï´Ù. ColorSpace
´Â µðÆúÆ®ÀÇ sRGB ¿µ¿ªÀÌ µË´Ï´Ù. »ó±âÀÇ Å¬·¡½ºÀÇ ¼³¸í¿¡ ³ªÅ¸³»µµ·Ï, Åõ¸íµµÀÇ °ªÀº Àμö¿¡ ÀÀÇØ Transparency.OPAQUE
, Transparency.BITMASK
, ¶Ç´Â Transparency.TRANSLUCENT
°¡ µË´Ï´Ù. Àü¼ÛÇüÀº ´ÜÀÏÀÇ Çȼ¿À» Æ÷ÇÔÇÒ ¼ö ÀÖ´Â DataBuffer.TYPE_BYTE
¶Ç´Â DataBuffer.TYPE_USHORT
ÃÖ¼ÒÀÇ °ÍÀÌ µË´Ï´Ù.
bits
- 1 Çȼ¿ ±ÙóÀÇ ºñÆ®¼ösize
- »ö¼ººÐÀÇ ¹è¿ÀÇ Å©±âr
- Àû»ö ¼ººÐÀÇ ¹è¿g
- ³ì»ö ¼ººÐÀÇ ¹è¿b
- û»ö ¼ººÐÀÇ ¹è¿a
- ¾ËÆÄ°ª
¼ººÐÀÇ ¹è¿
IllegalArgumentException
- bits
°¡ 1 º¸´Ù ÀÛÀºÁö, 16 º¸´Ù Å« °æ¿ì
IllegalArgumentException
- size
°¡ 1 ¹Ì¸¸ÀÇ °æ¿ìpublic IndexColorModel(int bits, int size, byte[] cmap, int start, boolean hasalpha)
IndexColorModel
À»
±¸ÃàÇÕ´Ï´Ù. ÀÌ ¹è¿ÀÇ °ªÀº ÁöÁ¤µÈ »çÀÌÁîÀÇ ¼ººÐ ¹è¿À» ¸ðµÎ ÃæºÐÈ÷ ä¿ì´Â ¼öÀÏ Çʿ䰡 ÀÖ½À´Ï´Ù. ColorSpace
´Â µðÆúÆ®ÀÇ sRGB ¿µ¿ªÀÌ µË´Ï´Ù. »ó±âÀÇ Å¬·¡½ºÀÇ ¼³¸í¿¡ ³ªÅ¸³»µµ·Ï, Åõ¸íµµÀÇ °ªÀº Àμö¿¡ ÀÀÇØ Transparency.OPAQUE
, Transparency.BITMASK
, ¶Ç´Â Transparency.TRANSLUCENT
°¡ µË´Ï´Ù. Àü¼ÛÇüÀº ´ÜÀÏÀÇ Çȼ¿À» Æ÷ÇÔÇÒ ¼ö ÀÖ´Â DataBuffer.TYPE_BYTE
¶Ç´Â DataBuffer.TYPE_USHORT
ÃÖ¼ÒÀÇ °ÍÀÌ µË´Ï´Ù.
bits
- 1 Çȼ¿ ±ÙóÀÇ ºñÆ®¼ösize
- »ö¼ººÐÀÇ ¹è¿ÀÇ Å©±âcmap
- »ö¼ººÐÀÇ ¹è¿start
- ÃÖÃÊÀÇ »ö¼ººÐÀÇ °³½Ã ¿ÀÇÁ¼Â(offset)hasalpha
- cmap
¹è¿¿¡¼ÀÇ ¾ËÆÄ°ª
ÀÇ À¯¹«¸¦ ³ªÅ¸³½´Ù
IllegalArgumentException
- bits
°¡ 1 º¸´Ù ÀÛÀºÁö, 16 º¸´Ù Å« °æ¿ì
IllegalArgumentException
- size
°¡ 1 ¹Ì¸¸ÀÇ °æ¿ìpublic IndexColorModel(int bits, int size, byte[] cmap, int start, boolean hasalpha, int trans)
IndexColorModel
À»
±¸ÃàÇÕ´Ï´Ù. ÁöÁ¤µÈ Åõ¸í À妽º´Â ¾î´À ¾ËÆÄ°ªÀÌ
ÁöÁ¤µÇ°í À־, ¿ÏÀüÈ÷ Åõ¸íÇÏ´Ù¶ó°í º¸¿©Áö´Â Çȼ¿À» Ç¥ÇöÇÕ´Ï´Ù. ÀÌ ¹è¿ÀÇ °ªÀº ÁöÁ¤µÈ »çÀÌÁîÀÇ ¼ººÐ ¹è¿À» ¸ðµÎ ÃæºÐÈ÷ ä¿ì´Â ¼öÀÏ Çʿ䰡 ÀÖ½À´Ï´Ù. ColorSpace
´Â µðÆúÆ®ÀÇ sRGB ¿µ¿ªÀÌ µË´Ï´Ù. »ó±âÀÇ Å¬·¡½ºÀÇ ¼³¸í¿¡ ³ªÅ¸³»µµ·Ï, Åõ¸íµµÀÇ °ªÀº Àμö¿¡ ÀÀÇØ Transparency.OPAQUE
, Transparency.BITMASK
, ¶Ç´Â Transparency.TRANSLUCENT
°¡ µË´Ï´Ù. Àü¼ÛÇüÀº ´ÜÀÏÀÇ Çȼ¿À» Æ÷ÇÔÇÒ ¼ö ÀÖ´Â DataBuffer.TYPE_BYTE
¶Ç´Â DataBuffer.TYPE_USHORT
ÃÖ¼ÒÀÇ °ÍÀÌ µË´Ï´Ù.
bits
- 1 Çȼ¿ ±ÙóÀÇ ºñÆ®¼ösize
- »ö¼ººÐÀÇ ¹è¿ÀÇ Å©±âcmap
- »ö¼ººÐÀÇ ¹è¿start
- ÃÖÃÊÀÇ »ö¼ººÐÀÇ °³½Ã ¿ÀÇÁ¼Â(offset)hasalpha
- cmap
¹è¿¿¡¼ÀÇ ¾ËÆÄ°ª
ÀÇ À¯¹«¸¦ ³ªÅ¸³»´Âtrans
- ¿ÏÀüÇÑ Åõ¸í Çȼ¿ÀÇ À妽º
IllegalArgumentException
- bits
°¡ 1 º¸´Ù ÀÛÀºÁö, 16 º¸´Ù Å« °æ¿ì
IllegalArgumentException
- size
°¡ 1 ¹Ì¸¸ÀÇ °æ¿ìpublic IndexColorModel(int bits, int size, int[] cmap, int start, boolean hasalpha, int trans, int transferType)
IndexColorModel
À»
±¸ÃàÇÕ´Ï´Ù. ´Ù¸¸, °¢ int´Â
µðÆúÆ®ÀÇ RGB Ä÷¯ ¸ðµ¨ Çü½ÄÀÇ Àû»ö, ³ì»ö, û»öÀÇ »ö¼ººÐ ¹× ÀÓÀÇÀÇ ¾ËÆÄ ¼ººÐÀ¸·ÎºÎÅÍ µË´Ï´Ù. ÁöÁ¤µÈ Åõ¸í À妽º´Â ¾î´À ¾ËÆÄ°ªÀÌ
ÁöÁ¤µÇ°í À־, ¿ÏÀüÇÏ°Ô Åõ¸íÇÏ´Ù¶ó°í º¸¿©Áö´Â Çȼ¿À» Ç¥ÇöÇÕ´Ï´Ù. ÀÌ ¹è¿ÀÇ °ªÀº ÁöÁ¤µÈ »çÀÌÁîÀÇ ¼ººÐ ¹è¿À» ¸ðµÎ ÃæºÐÈ÷ ä¿ì´Â ¼öÀÏ Çʿ䰡 ÀÖ½À´Ï´Ù. ColorSpace
´Â µðÆúÆ®ÀÇ sRGB ¿µ¿ªÀÌ µË´Ï´Ù. »ó±âÀÇ Å¬·¡½ºÀÇ ¼³¸í¿¡ ³ªÅ¸³»µµ·Ï, Åõ¸íµµÀÇ °ªÀº Àμö¿¡ ÀÀÇØ Transparency.OPAQUE
, Transparency.BITMASK
, ¶Ç´Â Transparency.TRANSLUCENT
°¡ µË´Ï´Ù.
bits
- 1 Çȼ¿ ±ÙóÀÇ ºñÆ®¼ösize
- »ö¼ººÐÀÇ ¹è¿ÀÇ Å©±âcmap
- »ö¼ººÐÀÇ ¹è¿start
- ÃÖÃÊÀÇ »ö¼ººÐÀÇ °³½Ã ¿ÀÇÁ¼Â(offset)hasalpha
- cmap
¹è¿¿¡¼ÀÇ ¾ËÆÄ°ª
ÀÇ À¯¹«¸¦ ³ªÅ¸³»´Âtrans
- ¿ÏÀüÇÑ Åõ¸í Çȼ¿ÀÇ À妽ºtransferType
- Çȼ¿Ä¡¸¦ ³ªÅ¸³¾ ¶§ »ç¿ëÇÏ´Â ¹è¿ÀÇ µ¥ÀÌÅÍÇü. µ¥ÀÌÅÍÇüÀº DataBuffer.TYPE_BYTE
¶Ç´Â DataBuffer.TYPE_USHORT
¾î´À ÂÊÀÎÁö
IllegalArgumentException
- bits
°¡ 1 º¸´Ù ÀÛÀºÁö, 16 º¸´Ù Å« °æ¿ì
IllegalArgumentException
- size
°¡ 1 ¹Ì¸¸ÀÇ °æ¿ì
IllegalArgumentException
- transferType
°¡ DataBuffer.TYPE_BYTE
¶Ç´Â DataBuffer.TYPE_USHORT
°¡ ¾î´À Âʵµ ¾Æ´Ñ °æ¿ìpublic IndexColorModel(int bits, int size, int[] cmap, int start, int transferType, BigInteger validBits)
int
¹è¿·ÎºÎÅÍ IndexColorModel
À»
±¸ÃàÇÕ´Ï´Ù. ´Ù¸¸, °¢ int
´Â
µðÆúÆ®ÀÇ RGB Ä÷¯ ¸ðµ¨ Çü½ÄÀÇ Àû»ö, ³ì»ö, û»öÀÇ »ö¼ººÐ ¹× ÀÓÀÇÀÇ ¾ËÆÄ ¼ººÐÀ¸·ÎºÎÅÍ µË´Ï´Ù. ÀÌ ¹è¿ÀÇ °ªÀº ÁöÁ¤µÈ »çÀÌÁîÀÇ ¼ººÐ ¹è¿À» ¸ðµÎ ÃæºÐÈ÷ ä¿ì´Â ¼öÀÏ Çʿ䰡 ÀÖ½À´Ï´Ù. ColorSpace
´Â µðÆúÆ®ÀÇ sRGB ¿µ¿ªÀÌ µË´Ï´Ù. »ó±âÀÇ Å¬·¡½ºÀÇ ¼³¸í¿¡ ³ªÅ¸³»µµ·Ï, Åõ¸íµµÀÇ °ªÀº Àμö¿¡ ÀÀÇØ Transparency.OPAQUE
, Transparency.BITMASK
, ¶Ç´Â Transparency.TRANSLUCENT
°¡ µË´Ï´Ù. Àü¼ÛÇüÀº DataBuffer.TYPE_BYTE
¶Ç´Â DataBuffer.TYPE_USHORT
¾î¶² °ÍÀΰ¡ ³ª¿ÀÁö ¾ÊÀ¸¸é ¾ÈµË´Ï´Ù. BigInteger
°´Ã¼´Â
cmap
¹è¿ÀÇ À¯È¿/¹«È¿ Çȼ¿À» ÁöÁ¤ÇÕ´Ï´Ù. Çȼ¿Àº ±× À妽ºÀÇ BigInteger
°ªÀÌ
¼³Á¤µÇ¾î ÀÖÀ¸¸é À¯È¿, ±× À妽ºÀÇ BigInteger
ºñÆ®°¡ ¼³Á¤µÇ¾î ÀÖÁö ¾ÊÀº °æ¿ì´Â ¹«È¿ÀÔ´Ï´Ù.
bits
- 1 Çȼ¿ ±ÙóÀÇ ºñÆ®¼ösize
- »ö¼ººÐÀÇ ¹è¿ÀÇ Å©±âcmap
- »ö¼ººÐÀÇ ¹è¿start
- ÃÖÃÊÀÇ »ö¼ººÐÀÇ °³½Ã ¿ÀÇÁ¼Â(offset)transferType
- ÁöÁ¤µÈ µ¥ÀÌÅÍÇüvalidBits
- BigInteger
°´Ã¼. ºñÆ®°¡ BigInteger ·Î ¼³Á¤µÇ¾î ÀÖ´Â °æ¿ì´Â À妽ºÀÇ Çȼ¿Àº À¯È¿. ºñÆ®°¡ ¼³Á¤µÇ¾î ÀÖÁö ¾ÊÀº °æ¿ì´Â À妽ºÀÇ Çȼ¿Àº ¹«È¿¶ó°í º¸¿©Áø´Ù. nullÀÎ °æ¿ì´Â ¸ðµç Çȼ¿ÀÌ À¯È¿. Á¦·Î·ÎºÎÅÍ ¸Ê »çÀÌÁî±îÁöÀÇ ºñÆ®¸¸ÀÌ °í·ÁµÈ´Ù
IllegalArgumentException
- bits
°¡ 1 º¸´Ù ÀÛÀºÁö, 16 º¸´Ù Å« °æ¿ì
IllegalArgumentException
- size
°¡ 1 ¹Ì¸¸ÀÇ °æ¿ì
IllegalArgumentException
- transferType
°¡ DataBuffer.TYPE_BYTE
¶Ç´Â DataBuffer.TYPE_USHORT
°¡ ¾î´À Âʵµ ¾Æ´Ñ °æ¿ì¸Þ¼µåÀÇ »ó¼¼ |
---|
public int getTransparency()
Transparency
³»ÀÇ getTransparency
ColorModel
³»ÀÇ getTransparency
IndexColorModel
Åõ¸íµµTransparency.OPAQUE
,
Transparency.BITMASK
,
Transparency.TRANSLUCENT
public int[] getComponentSize()
ColorModel
³»ÀÇ getComponentSize
IndexColorModel
»ö¼ººÐ ¹× ¾ËÆÄ ¼ººÐ¸¶´ÙÀÇ ºñÆ®¼öÀÇ ¹è¿public final int getMapSize()
IndexColorModel
³»ÀÇ »ö¼ººÐ°ú ¾ËÆÄ ¼ººÐÀÇ ¹è¿ÀÇ Å©±â¸¦ ¸®ÅÏÇÕ´Ï´Ù.
public final int getTransparentPixel()
IndexColorModel
³»ÀÇ Åõ¸í Çȼ¿ÀÇ À妽º¸¦ ¸®ÅÏÇÕ´Ï´Ù. ´Ù¸¸, ¾ËÆÄ°ª
0
Çȼ¿ÀÌ ¾ø´Â °æ¿ì´Â -1À» ¸®ÅÏÇÕ´Ï´Ù. Åõ¸í Çȼ¿ÀÌ À妽º¿¡ ÀÇÇØ »ý¼ºÀÚ¿¡ ¸í½ÃÀûÀ¸·Î °¡¸®Å°´Â °æ¿ì, ±× À妽º°¡ ¿ì¼±µË´Ï´Ù. ±× ¿ÜÀÇ °æ¿ì´Â ¿ÏÀüÇÏ°Ô Åõ¸íÇÑ ÀÓÀÇÀÇ Çȼ¿ÀÇ À妽º°¡ ¸®ÅϵÈ
ÀÏÀÌ ÀÖ½À´Ï´Ù.
IndexColorModel
°´Ã¼ÀÇ Åõ¸í Çȼ¿ÀÇ À妽º, ¶Ç´Â Åõ¸í Çȼ¿ÀÌ ¾ø´Â °æ¿ì´Â -1public final void getReds(byte[] r)
getMapSize
·Î ÁöÁ¤µÈ ¹è¿ÀÇ Ãʱ⠿£Æ®¸®¸¸ÀÌ Ãâ·ÂÇØÁý´Ï´Ù.
r
- »¡°ÀÇ »ö¼ººÐÀÇ ¹è¿ ¿ä¼ÒÀÇ Ä«ÇÇó·Î¼ ÁöÁ¤µÇ´Â ¹è¿public final void getGreens(byte[] g)
getMapSize
·Î
ÁöÁ¤µÈ ¹è¿ÀÇ Ãʱ⠿£Æ®¸®¸¸ÀÌ Ãâ·ÂÇØÁý´Ï´Ù.
g
- ÃÊ·ÏÀÇ »ö¼ººÐÀÇ ¹è¿ ¿ä¼ÒÀÇ Ä«ÇÇó·Î¼ ÁöÁ¤µÇ´Â ¹è¿public final void getBlues(byte[] b)
getMapSize
·Î
ÁöÁ¤µÈ ¹è¿ÀÇ Ãʱ⠿£Æ®¸®¸¸ÀÌ Ãâ·ÂÇØÁý´Ï´Ù.
b
- ÆÄ¶ûÀÇ »ö¼ººÐÀÇ ¹è¿ ¿ä¼ÒÀÇ Ä«ÇÇó·Î¼ ÁöÁ¤µÇ´Â ¹è¿public final void getAlphas(byte[] a)
getMapSize
·Î
ÁöÁ¤µÈ ¹è¿ÀÇ Ãʱ⠿£Æ®¸®¸¸ÀÌ Ãâ·ÂÇØÁý´Ï´Ù.
a
- ¾ËÆÄ ¼ººÐÀÇ ¹è¿ ¿ä¼ÒÀÇ Ä«ÇÇó·Î¼ ÁöÁ¤µÇ´Â ¹è¿public final void getRGBs(int[] rgb)
getMapSize
·Î
ÁöÁ¤µÈ ¹è¿ÀÇ Ãʱ⠿£Æ®¸®¸¸ÀÌ Ãâ·ÂÇØÁý´Ï´Ù.
rgb
- ÀÌ »ö¼ººÐ ¹× ¾ËÆÄ ¼ººÐ ¹è¿·ÎºÎÅÍ º¯È¯ÇÑ ARGB Ä¡ÀÇ Ä«ÇÇó·Î¼ ÁöÁ¤µÇ´Â ¹è¿public final int getRed(int pixel)
ColorModel
³»ÀÇ getRed
pixel
- ÁöÁ¤µÈ Çȼ¿
public final int getGreen(int pixel)
ColorModel
³»ÀÇ getGreen
pixel
- ÁöÁ¤µÈ Çȼ¿
public final int getBlue(int pixel)
ColorModel
³»ÀÇ getBlue
pixel
- ÁöÁ¤µÈ Çȼ¿
public final int getAlpha(int pixel)
ColorModel
³»ÀÇ getAlpha
pixel
- ÁöÁ¤µÈ Çȼ¿
public final int getRGB(int pixel)
ColorModel
³»ÀÇ getRGB
pixel
- ÁöÁ¤µÈ Çȼ¿
ColorModel.getRGBdefault()
public Object getDataElements(int rgb, Object pixel)
WritableRaster
°´Ã¼ÀÇ setDataElements
¸Þ¼µå¿¡°Ô °Ç³×Áý´Ï´Ù. pixel º¯¼ö°¡ null
ÀÎ °æ¿ì´Â »õ·Î¿î ¹è¿À» ÇÒ´çÇÒ ¼ö ÀÖ½À´Ï´Ù. pixel
°¡ null
ÀÌ ¾Æ´Ñ °æ¿ì´Â transferType
ÇüÀÇ ¿ø½ÃÀû ¹è¿ÀÏ Çʿ䰡 ÀÖ½À´Ï´Ù. ±×·¸Áö ¾ÊÀº °æ¿ì´Â ClassCastException
°¡ ¹ß»ý µË´Ï´Ù. pixel
°¡ ÀÌ ColorModel
Çȼ¿Ä¡¸¦ Æ÷ÇÔÇÒ ¼ö ÀÖÀ» ¸¸Å Å©Áö ¾ÊÀº °æ¿ì´Â ArrayIndexOutOfBoundsException
°¡ ¹ß»ý µË´Ï´Ù. Çȼ¿ ¹è¿ÀÌ ¸®Åϵ˴ϴÙ
.
IndexColorModel
´Â »ó¼ÓÇÒ ¼ö Àֱ⠶§¹®¿¡
¼ºê Ŭ·¡½º´Â ÀÌ ¸Þ¼µåÀÇ ±¸ÇöÀ» »ó¼ÓÇÕ´Ï´Ù. ¼ºê Ŭ·¡½º°¡ ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¾Ê´Â °æ¿ì, Áö¿øµÇ¾î ÀÖÁö ¾ÊÀº transferType
¸¦ »ç¿ëÇßÀ» °æ¿ì´Â ¿¹¿Ü¸¦ Throw ÇÕ´Ï´Ù.
ColorModel
³»ÀÇ getDataElements
rgb
- µðÆúÆ® RGB Ä÷¯ ¸ðµ¨ÀÇ Á¤¼öÇü Çȼ¿ Ç¥Çöpixel
- ÁöÁ¤µÈ Çȼ¿
IndexColorModel
ÁöÁ¤µÈ Çȼ¿ÀÇ ¹è¿ Ç¥Çö
ClassCastException
- pixel
°¡ transferType
ÇüÀÇ ¿ø½ÃÀû ¹è¿ÀÌ ¾Æ´Ñ °æ¿ì
ArrayIndexOutOfBoundsException
- pixel
°¡ ÀÌ ColorModel
Çȼ¿Ä¡¸¦ º¸°ü À¯ÁöÇϴµ¥ ÃæºÐÇÑ Å©±â°¡ ¾Æ´Ñ °æ¿ì
UnsupportedOperationException
- transferType
°¡ ¹«È¿ÀÎ °æ¿ìWritableRaster.setDataElements(int, int, java.lang.Object)
,
SampleModel.setDataElements(int, int, java.lang.Object, java.awt.image.DataBuffer)
public int[] getComponents(int pixel, int[] components, int offset)
ColorModel
ÁöÁ¤µÈ Çȼ¿ÀÇ Ç¥ÁØÈµÇ¾î ÀÖÁö ¾ÊÀº »ö¼ººÐ°ú ¾ËÆÄ ¼ººÐÀÇ ¹è¿À» ¸®ÅÏÇÕ´Ï´Ù. Çȼ¿Ä¡´Â int ·Î¼ ÁöÁ¤µË´Ï´Ù. components
¹è¿ÀÌ null
ÀÎ °æ¿ì, offset + getNumComponents()
¿ä¼Ò¸¦ Æ÷ÇÔÇÑ »õ·Î¿î ¹è¿À» ÇÒ´çÇÒ ¼ö ÀÖ½À´Ï´Ù. components
¹è¿ÀÌ ¸®Åϵ˴ϴÙ
¸¸, hasAlpha
°¡ true¸¦ µ¹·ÁÁÖ´Â °æ¿ì¸¸, ¾ËÆÄ ¼ººÐÀÌ Æ÷ÇԵ˴ϴÙ. »ö¼ººÐ°ú ¾ËÆÄ ¼ººÐÀº, offset
¸¦ ±âÁ¡À¸·Î components
¹è¿¿¡ Æ÷ÇԵ˴ϴÙ. ¹è¿ÀÌ ÀÌ ¸Þ¼µå·Î ÇÒ´çÇÒ ¼ö ÀÖ´ÂÀÎ °æ¿ìµµ °°½À´Ï´Ù. components
¹è¿ÀÌ null
ÀÌ ¾Æ´Ï°í, offset
¸¦ ±âÁ¡À¸·Î ÇßÀ» °æ¿ì¿¡
»ö¼ººÐ°ú ¾ËÆÄ ¼ººÐÀÇ ¸ðµç °ÍÀ» º¸°ü À¯ÁöÇϴµ¥ ÃæºÐÇÑ Å©±â°¡ ¾Æ´Ñ °æ¿ì´Â ArrayIndexOutOfBoundsException
°¡ ¹ß»ý µË´Ï´Ù.
ColorModel
³»ÀÇ getComponents
pixel
- ÁöÁ¤µÈ Çȼ¿components
- ÁöÁ¤µÈ Çȼ¿ÀÇ »ö¼ººÐ ¹× ¾ËÆÄ ¼ººÐÀ» ¹Þ´Â ¹è¿offset
- »ö¼ººÐ ¹× ¾ËÆÄ ¼ººÐÀÇ Æ÷ÇÔÀ» °³½ÃÇÏ´Â components
¹è¿³»ÀÇ ¿ÀÇÁ¼Â(offset)
ColorModel.hasAlpha()
,
ColorModel.getNumComponents()
public int[] getComponents(Object pixel, int[] components, int offset)
ColorModel
ÁöÁ¤µÈ Çȼ¿¿¡ ´ëÇØ, Ç¥ÁØÈµÇ¾î ÀÖÁö ¾ÊÀº »ö¼ººÐ°ú ¾ËÆÄ ¼ººÐÀÇ ¹è¿À» ¸®ÅÏÇÕ´Ï´Ù. Çȼ¿Ä¡´Â °´Ã¼ ÂüÁ¶·Î¼ °Ç³×¹Þ´Â transferType
ÇüÀÇ µ¥ÀÌÅÍ ¿ä¼ÒÀÇ ¹è¿¿¡ ÀÇÇØ ÁöÁ¤µË´Ï´Ù. pixel
°¡ transferType
ÇüÀÇ ¿ø½ÃÀû ¹è¿ÀÌ ¾Æ´Ñ °æ¿ì´Â ClassCastException
°¡ ¹ß»ý µË´Ï´Ù. pixel
°¡ ÀÌ ColorModel
Çȼ¿Ä¡¸¦ Æ÷ÇÔÇÒ ¼ö ÀÖÀ» ¸¸Å Å©Áö ¾ÊÀº °æ¿ì´Â ArrayIndexOutOfBoundsException
°¡ ¹ß»ý µË´Ï´Ù. components
¹è¿ÀÌ null
ÀÎ °æ¿ì´Â offset + getNumComponents()
¿ä¼Ò¸¦ Æ÷ÇÔÇÑ »õ·Î¿î ¹è¿À» ÇÒ´çÇÒ ¼ö ÀÖ½À´Ï´Ù. ±× components
¹è¿ÀÌ ¸®Åϵ˴ϴÙ
¸¸, hasAlpha
°¡ true¸¦ µ¹·ÁÁÖ´Â °æ¿ì¸¸, ¾ËÆÄ ¼ººÐÀÌ Æ÷ÇԵ˴ϴÙ. »ö¼ººÐ°ú ¾ËÆÄ ¼ººÐÀº, offset
·Î
ºÎÅÍ ½ÃÀ۵Ǵ components
¹è¿¿¡ Æ÷ÇԵ˴ϴÙ. À̰ÍÀº ¹è¿ÀÌ ÀÌ ¸Þ¼µå·Î ÇÒ´çÇÒ ¼ö À־ ¹Ù²îÁö ¾Ê½À´Ï´Ù. components
¹è¿ÀÌ null
ÀÌ ¾Æ´Ï°í, offset
¸¦ °³½ÃÁ¡À¸·Î ÇßÀ» °æ¿ì¿¡
»ö¼ººÐ°ú ¾ËÆÄ ¼ººÐÀÇ ¸ðµç °ÍÀ» Æ÷ÇÔÇÒ ¼ö ÀÖÀ» ¸¸Å Å©Áö ¾ÊÀº °æ¿ì´Â ArrayIndexOutOfBoundsException
°¡ ¹ß»ý µË´Ï´Ù.
IndexColorModel
´Â »ó¼ÓÇÒ ¼ö Àֱ⠶§¹®¿¡
¼ºê Ŭ·¡½º´Â ÀÌ ¸Þ¼µåÀÇ ±¸ÇöÀ» »ó¼ÓÇÕ´Ï´Ù. ¼ºê Ŭ·¡½º°¡ ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¾Ê´Â °æ¿ì, Áö¿øµÇ¾î ÀÖÁö ¾ÊÀº transferType
¸¦ »ç¿ëÇßÀ» °æ¿ì´Â ¿¹¿Ü¸¦ Throw ÇÕ´Ï´Ù.
ColorModel
³»ÀÇ getComponents
pixel
- ÁöÁ¤µÈ Çȼ¿components
- ÁöÁ¤µÈ Çȼ¿ÀÇ »ö¼ººÐ ¹× ¾ËÆÄ ¼ººÐÀ» ¹Þ´Â ¹è¿offset
- ÁöÁ¤µÈ Çȼ¿ÀÇ »ö¼ººÐ ¹× ¾ËÆÄ ¼ººÐÀÇ Æ÷ÇÔÀ» °³½ÃÇÏ´Â components
¹è¿³»ÀÇ À妽º
ArrayIndexOutOfBoundsException
- pixel
°¡ ÀÌ ColorModel
Çȼ¿Ä¡¸¦ º¸°ü À¯ÁöÇϴµ¥ ÃæºÐÇÑ Å©±â°¡ ¾Æ´Ñ °æ¿ì, ȤÀº components
¹è¿ÀÌ null
Àº ¾Æ´Ï°í, offset
¸¦ °³½ÃÁ¡À¸·Î ÇßÀ» °æ¿ì¿¡
¸ðµç »ö¼ººÐ ¹× ¾ËÆÄ ¼ººÐÀ» º¸°ü À¯ÁöÇϱ⿡ ÃæºÐÇÑ Å©±â°¡ ¾Æ´Ñ °æ¿ì
ClassCastException
- pixel
°¡ transferType
ÇüÀÇ ¿ø½ÃÀû ¹è¿ÀÌ ¾Æ´Ñ °æ¿ì
UnsupportedOperationException
- transferType
°¡ Áö¿øµÇ°í ÀÖ´Â Àü¼ÛÇüÀÌ ¾Æ´Ñ °æ¿ìColorModel.hasAlpha()
,
ColorModel.getNumComponents()
public int getDataElement(int[] components, int offset)
ColorModel
int ·Î¼ Ç¥ÇöµÇ´Â Çȼ¿Ä¡¸¦ ¸®ÅÏÇÕ´Ï´Ù. components
¹è¿ÀÌ »ö¼ººÐ°ú ¾ËÆÄ ¼ººÐ (offset
·Î
ºÎÅÍ ½ÃÀ۵ȴÙ)ÀÇ ¸ðµç °ÍÀ» Æ÷ÇÔÇÒ ¼ö ÀÖÀ» ¸¸Å Å©Áö ¾ÊÀº °æ¿ì´Â ArrayIndexOutOfBoundsException
°¡ ¹ß»ý µË´Ï´Ù. ColorModel
´Â »ó¼ÓÇÒ ¼ö Àֱ⠶§¹®¿¡
¼ºê Ŭ·¡½º´Â ÀÌ ¸Þ¼µåÀÇ ±¸ÇöÀ» »ó¼ÓÇÕ´Ï´Ù. ¼ºê Ŭ·¡½º°¡ ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¾Ê´Â °æ¿ì, Áö¿øµÇ¾î ÀÖÁö ¾ÊÀº transferType¸¦ »ç¿ëÇßÀ» °æ¿ì´Â ¿¹¿Ü¸¦ Throw ÇÕ´Ï´Ù.
ColorModel
³»ÀÇ getDataElement
components
- Ç¥ÁØÈµÇ¾î ÀÖÁö ¾ÊÀº »ö¼ººÐ ¹× ¾ËÆÄ ¼ººÐÀÇ ¹è¿offset
- »ö¼ººÐ ¹× ¾ËÆÄ ¼ººÐÀÇ Ãëµæ °³½Ã À§Ä¡¸¦ ÁöÁ¤ÇÏ´Â components
³»ÀÇ À妽º
ColorModel
³»ÀÇ int
Çȼ¿Ä¡
ArrayIndexOutOfBoundsException
- components
¹è¿ÀÇ Å©±â°¡ offset
¸¦ ±âÁ¡À¸·Î ¸ðµç »ö¼ººÐ ¹× ¾ËÆÄ ¼ººÐÀ» º¸°ü À¯ÁöÇϴµ¥ ÃæºÐÇÏÁö ¾ÊÀº °æ¿ì
UnsupportedOperationException
- transferType
°¡ ¹«È¿ÀÎ °æ¿ìpublic Object getDataElements(int[] components, int offset, Object pixel)
ColorModel
Çȼ¿ÀÇ µ¥ÀÌÅÍ ¿ä¼Ò ¹è¿ Ç¥ÇöÀ» ¸®ÅÏÇÕ´Ï´Ù. ÀÌ ¹è¿Àº, WritableRaster
°´Ã¼ÀÇ setDataElements
¸Þ¼µå¿¡ °Ç³×ÁÙ ¼ö°¡ ÀÖ½À´Ï´Ù. components
¹è¿ÀÌ, offset
¸¦ °³½ÃÁ¡À¸·Î ÇßÀ» °æ¿ì¿¡
¸ðµç »ö¼ººÐ ¹× ¾ËÆÄ ¼ººÐÀ» Æ÷ÇÔÇϴµ¥ ÃæºÐÇÑ Å©±â°¡ ¾Æ´Ñ °æ¿ì´Â ArrayIndexOutOfBoundsException
°¡ ¹ß»ý µË´Ï´Ù. Çȼ¿ º¯¼ö°¡ null
ÀÎ °æ¿ì´Â »õ·Î¿î ¹è¿À» ÇÒ´çÇÒ ¼ö ÀÖ½À´Ï´Ù. pixel
°¡ null
ÀÌ ¾Æ´Ñ °æ¿ì´Â transferType
ÇüÀÇ ¿ø½ÃÀû ¹è¿ÀÏ Çʿ䰡 ÀÖ½À´Ï´Ù. ±×·¸Áö ¾ÊÀº °æ¿ì´Â ClassCastException
°¡ ¹ß»ý µË´Ï´Ù. Çȼ¿ÀÌ ÀÌ ColorModel
Çȼ¿Ä¡¸¦ Æ÷ÇÔÇϴµ¥ ÃæºÐÇÑ Å©±â°¡ ¾Æ´Ñ °æ¿ì´Â ArrayIndexOutOfBoundsException
°¡ ¹ß»ý µË´Ï´Ù.
IndexColorModel
´Â »ó¼ÓÇÒ ¼ö Àֱ⠶§¹®¿¡
¼ºê Ŭ·¡½º´Â ÀÌ ¸Þ¼µåÀÇ ±¸ÇöÀ» »ó¼ÓÇÕ´Ï´Ù. ¼ºê Ŭ·¡½º°¡ ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¾Ê´Â °æ¿ì, Áö¿øµÇ¾î ÀÖÁö ¾ÊÀº transferType
¸¦ »ç¿ëÇßÀ» °æ¿ì´Â ¿¹¿Ü¸¦ Throw ÇÕ´Ï´Ù.
ColorModel
³»ÀÇ getDataElements
components
- Ç¥ÁØÈµÇ¾î ÀÖÁö ¾ÊÀº »ö¼ººÐ ¹× ¾ËÆÄ ¼ººÐÀÇ ¹è¿offset
- »ö¼ººÐ ¹× ¾ËÆÄ ¼ººÐÀÇ Ãëµæ °³½Ã À§Ä¡¸¦ ÁöÁ¤ÇÏ´Â components
³»ÀÇ À妽ºpixel
- »ö¼ººÐ ¹× ¾ËÆÄ ¼ººÐÀÇ ¹è¿À» ³ªÅ¸³»´Â Object
Object
ClassCastException
- pixel
°¡ transferType
ÇüÀÇ ¿ø½ÃÀû ¹è¿ÀÌ ¾Æ´Ñ °æ¿ì
ArrayIndexOutOfBoundsException
- pixel
°¡ ÀÌ ColorModel
Çȼ¿Ä¡¸¦ º¸°ü À¯ÁöÇϴµ¥ ÃæºÐÇÑ Å©±â°¡ ¾Æ´Ñ °æ¿ì, ȤÀº components
¹è¿ÀÌ, offset
¸¦ °³½ÃÁ¡À¸·Î ÇßÀ» °æ¿ì, ¸ðµç »ö¼ººÐ ¹× ¾ËÆÄ ¼ººÐÀ» º¸°ü À¯ÁöÇϴµ¥ ÃæºÐÇÑ Å©±â°¡ ¾Æ´Ñ °æ¿ì
UnsupportedOperationException
- transferType
°¡ Áö¿øµÇ°í ÀÖ´Â Àü¼ÛÇüÀÌ ¾Æ´Ñ °æ¿ìWritableRaster.setDataElements(int, int, java.lang.Object)
,
SampleModel.setDataElements(int, int, java.lang.Object, java.awt.image.DataBuffer)
public WritableRaster createCompatibleWritableRaster(int w, int h)
ColorModel
¿Í
ȣȯ¼ºÀÌ ÀÖ´Â µ¥ÀÌÅÍ ·¹À̾ƿô SampleModel
À»
°¡Áö´Â WritableRaster
¸¦ ÀÛ¼ºÇÕ´Ï´Ù. ÀÌ ¸Þ¼µå´Â Çȼ¿¸¶´ÙÀÇ ºñÆ®°¡ 16 ¾Æ·¡ÀÇ Ä÷¯ ¸ðµ¨ÀÇ °æ¿ì¿¡ ÇÑÁ¤ÇØ ±â´ÉÇÕ´Ï´Ù.
IndexColorModel
´Â »ó¼ÓÇÒ ¼ö Àֱ⠶§¹®¿¡
Çȼ¿¸¶´ÙÀÇ ºñÆ®¼ö°¡ 16 º¸´Ù Å« °æ¿ì¸¦ Áö¿øÇÏ´Â ¸ðµç ¼ºê Ŭ·¡½º¿¡¼´Â ÀÌ ¸Þ¼µå¸¦ ¿À¹ö¶óÀ̵å(override) ÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù.
ColorModel
³»ÀÇ createCompatibleWritableRaster
w
- »õ·Î¿î WritableRaster
¿¡ Àû¿ëµÇ´Â Æøh
- »õ·Î¿î WritableRaster
¿¡ Àû¿ëµÇ´Â ³ôÀÌ
WritableRaster
°´Ã¼
UnsupportedOperationException
- Çȼ¿ÀÇ ºñÆ®¼ö°¡ 16 º¸´Ù Å« °æ¿ìWritableRaster
,
SampleModel
public boolean isCompatibleRaster(Raster raster)
raster
°¡ ÀÌ ColorModel
¿Í
ȣȯ¼ºÀÌ ÀÖ´Â °æ¿ì¿¡´Â true
¸¦ µ¹·ÁÁÖ°í, ±×·¸Áö ¾ÊÀº °æ¿ì¿¡´Â false
¸¦ ¸®ÅÏÇÕ´Ï´Ù.
ColorModel
³»ÀÇ isCompatibleRaster
raster
- ȣȯ¼ºÀ» ÆÇÁ¤ÇÏ´Â Raster
°´Ã¼
raster
°¡ ÀÌ ColorModel
¿Í
ȣȯ¼ºÀÌ ÀÖ´Â °æ¿ì´Â true
, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
public SampleModel createCompatibleSampleModel(int w, int h)
ColorModel
¿Í
ȣȯ¼ºÀÌ ÀÖ´Â µ¥ÀÌÅÍ ·¹À̾ƿôÀ» °¡Áö´Â ÁöÁ¤µÈ Æø°ú ³ôÀÌÀÇ SampleModel
À»
ÀÛ¼ºÇÕ´Ï´Ù.
ColorModel
³»ÀÇ createCompatibleSampleModel
w
- »õ·Î¿î SampleModel
¿¡ Àû¿ëµÇ´Â Æøh
- »õ·Î¿î SampleModel
¿¡ Àû¿ëµÇ´Â ³ôÀÌ
SampleModel
°´Ã¼
IllegalArgumentException
- w
¶Ç´Â h
°¡ Á¦·Î ¾Æ·¡ÀÇ °æ¿ìSampleModel
public boolean isCompatibleSampleModel(SampleModel sm)
SampleModel
°¡ ÀÌ ColorModel
¿Í
ȣȯ¼ºÀÌ ÀÖÀ»Áö ¾î¶³Áö¸¦ Á¶»çÇÕ´Ï´Ù. sm
°¡ null
ÀÎ °æ¿ì, ÀÌ ¸Þ¼µå´Â false
¸¦ ¸®ÅÏÇÕ´Ï´Ù.
ColorModel
³»ÀÇ isCompatibleSampleModel
sm
- ÁöÁ¤µÈ SampleModel
, ¶Ç´Â null
SampleModel
°¡ ÀÌ ColorModel
¿Í
ȣȯ¼ºÀÌ ÀÖ´Â °æ¿ì´Â true
, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
SampleModel
public BufferedImage convertToIntDiscrete(Raster raster, boolean forceARGB)
Raster
À妽º¸¦ Àü°³ÇØ °è»êÇÑ Çȼ¿ µ¥ÀÌÅÍ Ã·ºÎÀÇ Raster
¸¦ °¡Áö´Â TYPE_INT_ARGB ¶Ç´Â TYPE_INT_RGB
»õ·Î¿î BufferedImage
¸¦, ÀÌ ColorModel
»ö¼ººÐ°ú ¾ËÆÄ ¼ººÐÀÇ ¹è¿À» »ç¿ëÇØ ¸®ÅÏÇÕ´Ï´Ù. forceARGB
°¡ true
ÀÎ °æ¿ì, ÀÌ ColorModel
°¡ ¾ËÆÄ ¼ººÐ ¹è¿ ¶Ç´Â Åõ¸í Çȼ¿ÀÇ ¾î´À ÂÊÀ» °¡Áú±î¿¡ °ü°è¾øÀÌ, TYPE_INT_ARGB À̹ÌÁö°¡ ¸®Åϵ˴ϴÙ
.
raster
- ÁöÁ¤ÇÑ Raster
forceARGB
- true
ÀÎ °æ¿ì, ¸®ÅϵÈ
BufferedImage
´Â TYPE_INT_ARGB, ±×·¸Áö ¾ÊÀº °æ¿ì´Â TYPE_INT_RGB
Raster
·Î
ÀÛ¼ºÇÑ BufferedImage
IllegalArgumentException
- raster Àμö°¡ ÀÌ IndexColorModel¿Í
ȣȯ¼ºÀÌ ¾ø´Â °æ¿ìpublic boolean isValid(int pixel)
pixel
- ÁöÁ¤µÈ Çȼ¿Ä¡
pixel
°¡ À¯È¿ÇÑ °æ¿ì´Â true
, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
public boolean isValid()
pixel
°¡ À¯È¿ÇÑ °æ¿ì´Â true
, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
public BigInteger getValidPixels()
BigInteger
¸¦ ¸®ÅÏÇÕ´Ï´Ù. BigInteger
°ªÀÌ
±× À妽º·Î ¼³Á¤µÇ¾î ÀÖ´Â °æ¿ì, ºñÆ®´Â À¯È¿, BigInteger
°¡ ±× À妽º·Î ¼³Á¤µÇ¾î ÀÖÁö ¾ÊÀº °æ¿ì´Â ¹«È¿ÀÔ´Ï´Ù. BigInteger
¼Ó¿¡¼ Á¶È¸ÇÒ ¼ö ÀÖ´Â À¯È¿Ä¡´Â Á¦·Î·ÎºÎÅÍ ¸Ê »çÀÌÁîÀÇ ¹üÀ§ »ÓÀÔ´Ï´Ù.
BigInteger
public void finalize()
ColorModel
°¡ ÂüÁ¶µÇÁö ¾Ê°Ô µÇ¾úÀ» ¶§¿¡
°ü·ÃÇÑ system resource¸¦ ÆÄ±âÇÕ´Ï´Ù.
ColorModel
³»ÀÇ finalize
public String toString()
ColorModel
°´Ã¼ÀÇ ³»¿ëÀ» ³ªÅ¸³»´Â String
¸¦ ¸®ÅÏÇÕ´Ï´Ù.
ColorModel
³»ÀÇ toString
ColorModel
°´Ã¼ÀÇ ³»¿ëÀ» ³ªÅ¸³»´Â String
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.