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

翻訳前ページへ


Interface XIntegerBitmap
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: (判決などを)下すing ::

unpublished interface XIntegerBitmap
Base Interfaces
XIntegerBitmapXIntegerReadOnlyBitmapXBitmap

XIntegerReadOnlyBitmap
(言及/関連d interface's 要約:)
This is a 専攻するd interface for bitmaps having integer color channels. In contrast to XIntegerBitmap, this interface only 許すs read-only 接近.
Usage 制限s
not published
Description
This is a 専攻するd interface for bitmaps having integer color channels.

Since
OOo 2.0

Methods' 要約
setData 始める,決める raw data of a bitmap. 
setPixel 始める,決める a 選び出す/独身 pixel of the bitmap with the given color value. 
Methods' 詳細(に述べる)s
setData
無効の
setData( [in] sequence< byte >  data,
[in] IntegerBitmapLayout  bitmapLayout,
[in] ::com::sun::星/主役にする::geometry::IntegerRectangle2D  rect )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException,
::com::sun::星/主役にする::lang::IndexOutOfBoundsException );

Description
始める,決める raw data of a bitmap.

始める,決める raw data of a bitmap, in the 判型 as defined by getMemoryLayout(). With the given rectangle, a subset of the bitmap can be changed. If the 内部の data 判型's pixel are not integer 多重のs of bytes (i.e. if one pixel 占領するs いっそう少なく than a byte), the leftover content of the bytes at the 権利 of each scanline is ignored and left 不変の in the bitmap. When setting subsets of the bitmap, the same scanline padding takes place as when the whole bitmap is changed.

When setting data on volatile bitmaps, always call isValid() before, and retrieve a new memory layout 経由で getMemoryLayout(). At least under Windows, the memory layout can change for the same bitmap, if the 使用者 e.g. switches the 審査する 決意/決議. Thus, this method will throw an IllegalArgumentException, if the memory layout changed between a call to getMemoryLayout() and setData().

Parameter data
Data to 始める,決める
Parameter bitmapLayout
Layout of the data to 始める,決める. Must match this bitmap's 現在の layout.
Parameter rect
目的地 rectangle, within the bounds of the bitmap, to 始める,決める the data in.
Throws
com::sun::星/主役にする::lang::IndexOutOfBoundsException if parts of the given rectangle are outside the permissible bitmap area.
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if the given memory layout does not match this bitmap's layout, or if the given data sequence has too few or too many elements.
setPixel
無効の
setPixel( [in] sequence< byte >  color,
[in] IntegerBitmapLayout  bitmapLayout,
[in] ::com::sun::星/主役にする::geometry::IntegerPoint2D  pos )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException,
::com::sun::星/主役にする::lang::IndexOutOfBoundsException );

Description
始める,決める a 選び出す/独身 pixel of the bitmap with the given color value.

If the 内部の data 判型's pixel are not integer 多重のs of bytes (i.e. if one pixel 占領するs いっそう少なく than a byte), the color value is 推定する/予想するd in the least 重要な bits of the 選び出す/独身 byte given as the color.

When setting data on volatile bitmaps, always call isValid() before, and retrieve a new memory layout 経由で getMemoryLayout(). At least under Windows, the memory layout can change for the same bitmap, if the 使用者 e.g. switches the 審査する 決意/決議. Thus, this method will throw an IllegalArgumentException, if the memory layout changed between a call to getMemoryLayout() and setPixel().

Parameter color
The color value(s) to 始める,決める
Parameter bitmapLayout
Layout of the color elements to 始める,決める. Must match this bitmap's 現在の layout.
Parameter pos
Pixel position with the bounds of the bitmap to 始める,決める.
Throws
com::sun::星/主役にする::lang::IndexOutOfBoundsException if the given point is outside the permissible bitmap area.
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if the given memory layout does not match this bitmap's layout, or if the given data sequence has too few or too many elements.
最高の,を越す of Page

The ASF

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

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