このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XImageConsumer
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: awt ::

interface XImageConsumer
Description
明示するs a data 沈む for an image.

An image 消費者 is a 構成要素 which wants to 陳列する,発揮する or just receive an image from an image 生産者.

See also
XImageProducer

Methods' 要約
init initializes the 消費者 with image dimensions.  
setColorModel changes color model for next pixels typically called once after initialization.  
setPixelsByBytes 配達するs a chunk of pixels as long values.  
setPixelsByLongs 配達するs a chunk of pixels as byte values.  
完全にする is called for the notification of the degree to which the image is 配達するd.  
Methods' 詳細(に述べる)s
init
[oneway] 無効の
init( [in] long  Width,
[in] long  高さ );

Description
initializes the 消費者 with image dimensions.
setColorModel
[oneway] 無効の
setColorModel( [in] short  BitCount,
[in] sequence< long >  RGBAPal,
[in] long  RedMask,
[in] long  GreenMask,
[in] long  BlueMask,
[in] long  AlphaMask );

Description
changes color model for next pixels typically called once after initialization.
setPixelsByBytes
[oneway] 無効の
setPixelsByBytes( [in] long  nX,
[in] long  nY,
[in] long  nWidth,
[in] long  nHeight,
[in] sequence< byte >  aProducerData,
[in] long  nOffset,
[in] long  nScanSize );

Description
配達するs a chunk of pixels as long values.

The pixels of the image are 配達するd using one or more calls to this method. Each call 明示するs the 場所 and size of the rectangle of source pixels that are 含む/封じ込めるd in the array of pixels. The 明示するd color model 反対する should be used to 変える the pixels into their corresponding color and alpha 構成要素s. Pixel (m,n) is 蓄える/店d in the pixels array at 索引 (n * nScanSize + m + nOffset).

setPixelsByLongs
[oneway] 無効の
setPixelsByLongs( [in] long  nX,
[in] long  nY,
[in] long  nWidth,
[in] long  nHeight,
[in] sequence< long >  aProducerData,
[in] long  nOffset,
[in] long  nScanSize );

Description
配達するs a chunk of pixels as byte values.

The pixels of the image are 配達するd using one or more calls to this method. Each call 明示するs the 場所 and size of the rectangle of source pixels that are 含む/封じ込めるd in the array of pixels. The 明示するd color model 反対する should be used to 変える the pixels into their corresponding color and alpha 構成要素s. Pixel (m,n) is 蓄える/店d in the pixels array at 索引 (n * nScanSize + m + nOffset).

完全にする
[oneway] 無効の
完全にする( [in] long  Status,
[in] XImageProducer  xProducer );

Description
is called for the notification of the degree to which the image is 配達するd.

The 完全にする method is called when the image 生産者 has finished 配達するing all of the pixels that the source image 含む/封じ込めるs, or when a 選び出す/独身 でっちあげる,人を罪に陥れる of a multi-でっちあげる,人を罪に陥れる 活気/アニメーション has been 完全にするd, or when an error in 負担ing or producing the image has occurred. The image 消費者 should 除去する itself from the 名簿(に載せる)/表(にあげる) of 消費者s 登録(する)d with the image 生産者 at this time, unless it is 利益/興味d in 連続する でっちあげる,人を罪に陥れるs.

最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.