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

翻訳前ページへ


Interface XBitmap
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XBitmap
Description
This is a generic interface to a bitmap.

This interface 含む/封じ込めるs the generic functionality to be used on every XCanvas bitmap 反対する. More 判型-明確な/細部 methods can be 設立する at the XIntegerBitmap, XIeeeDoubleBitmap, XIeeeFloatBitmap and XHalfFloatBitmap interfaces.

Since
OOo 2.0

Methods' 要約
getSize Query the size of the bitmap. 
hasAlpha Query transparency status of the bitmap. 
getScaledBitmap Query a 規模d copy of the 初めの bitmap.  
Methods' 詳細(に述べる)s
getSize
::com::sun::星/主役にする::geometry::IntegerSize2D
getSize();

Description
Query the size of the bitmap.

This method queries the bitmap size in pixel.

Returns
the bitmap size in pixel.
hasAlpha
boolean
hasAlpha();

Description
Query transparency status of the bitmap.

The method checks, whether the bitmap 含む/封じ込めるs any alpha (警察などへの)密告,告訴(状). The same (警察などへの)密告,告訴(状) is also 利用できる at the XColorSpace associated with this bitmap, though much easier to 接近 here (the color space then has a 構成要素 flagged ColorComponentTag::ALPHA).

Returns
true, if the bitmap has alpha data, or 誤った if not.
getScaledBitmap
XBitmap
getScaledBitmap( [in] ::com::sun::星/主役にする::geometry::RealSize2D  newSize,
[in] boolean  beFast )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException,
VolatileContentDestroyedException );

Description
Query a 規模d copy of the 初めの bitmap.
Parameter newSize
Requested size of the new bitmap. Both of the two size 構成要素s must be greater than 無.
Parameter beFast
When 始める,決める to true, this parameter advises getScaledBitmap to use the fastest 利用できる algorithm to 規模 the bitmap, which might 原因(となる) 明白な artifacts.
Returns
the new 規模d bitmap.
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if the size 構成要素s are outside the 明示するd 範囲.
Throws
VolatileContentDestroyedException if the contents of a volatile bitmap have been destroyed, and thus cannot be read to 生成する the 規模d bitmap.
最高の,を越す 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.