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

翻訳前ページへ


Interface XBitmapPalette
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

unpublished interface XBitmapPalette
Usage 制限s
not published
Description
Interface to 接近 the palette of a color-索引d bitmap.
Since
OOo 2.0

Methods' 要約
getNumberOfEntries Request the number of palette 入ること/参加(者)s 利用できる.  
getIndex Request the color for the given palette 入ること/参加(者).  
setIndex 始める,決める the color for the given palette 入ること/参加(者).  
getColorSpace Query associated color space. 
Methods' 詳細(に述べる)s
getNumberOfEntries
long
getNumberOfEntries();

Description
Request the number of palette 入ること/参加(者)s 利用できる.
Returns
the number of 入ること/参加(者)s in this palette.
getIndex
boolean
getIndex( [out] sequence< ColorComponent >  入ること/参加(者),
[in] long  nIndex )
raises( ::com::sun::星/主役にする::lang::IndexOutOfBoundsException );

Description
Request the color for the given palette 入ること/参加(者).
Parameter 入ること/参加(者)
生産(高) parameter for the color 構成要素s at the given palette 入ること/参加(者).
Parameter nIndex
The 索引 of the palette 入ること/参加(者) to be retrieved. Valid 範囲 is [0,getNumberOfEntries()-1].
Returns
true, if the given palette 入ること/参加(者) should be 陳列する,発揮するd opaque, and 誤った if the 入ること/参加(者) should be 陳列する,発揮するd transparent. This is いつかs used for いわゆる mask transparency, by flagging 確かな palette 入ること/参加(者)s to be fully transparent when 陳列する,発揮するing the bitmap.
Throws
com::sun::星/主役にする::lang::IndexOutOfBoundsException if the 索引 is smaller than 無 or larger than XBitmapPalette::getNumberOfEntries()-1.
setIndex
boolean
setIndex( [in] sequence< ColorComponent >  color,
[in] boolean  transparency,
[in] long  nIndex )
raises( ::com::sun::星/主役にする::lang::IndexOutOfBoundsException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
始める,決める the color for the given palette 入ること/参加(者).
Parameter color
Sequence of 装置 color values in the associated bitmap's 装置 color 判型.
Parameter transparency
When true, the 明示するd palette 入ること/参加(者) is 陳列する,発揮するd as opaque color. When 誤った, the given 入ること/参加(者) 陳列する,発揮するs as fully transparent during 生産(高).
Parameter nIndex
The 索引 of the palette 入ること/参加(者) to be changed. Valid 範囲 is [0,getNumberOfEntries()-1].
Returns
whether the palette 入ること/参加(者) was changed. For read-only 入ること/参加(者)s, this method always returns 誤った.
Throws
com::sun::星/主役にする::lang::IndexOutOfBoundsException if the 索引 is smaller than 無 or larger than XBitmapPalette::getNumberOfEntries()-1.
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if the given sequence of color 構成要素s does not match the associated bitmap's 装置 color 判型.
getColorSpace
XColorSpace
getColorSpace();

Description
Query associated color space.

Returns
the color space that is associated with this palette.
最高の,を越す 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.