| Methods' 詳細(に述べる)s |
getBitsPerPixel
- Description
- Query number of bits used per bitmap pixel.
This method 産する/生じるs the total number of bits used for a color
value. At the associated XIntegerBitmap, the
XIntegerBitmap::setPixel() method will 推定する/予想する
a sequence of ceil(BitsPerPixel/8) bytes, and the
XIntegerReadOnlyBitmap::getPixel() will
return that number of bytes. 類似して, the color 転換
推定する/予想する input data in 多重のs of ceil(BitsPerPixel/8), and
also return 変えるd data in chunks of this.
|
|
getComponentBitCounts
| sequence< long > |
| getComponentBitCounts(); |
- Description
- Query the number of bits used for each 構成要素.
This method returnes a sequence of integers, each denoting the
number of bits 占領するd by the 各々の 構成要素. The sum
of all 構成要素 bits must be いっそう少なく or equal than the value
returned from getBitsPerPixel(). If the sum is
いっそう少なく, 超過 bits are always kept in the most 重要な bits
of a pixel. Color 構成要素s will appear in the byte sequences
returned from the XIntegerBitmap methods in the
order defined here, with the first element starting from the
least 重要な bits of the pixel, etc.
- Example
- For the typical 32 bit RGBA color data, the four
values would all 含む/封じ込める the value eight. For a 16 bit 1555
ARGB 判型, with mask values 0x8000 for alpha, 0x7C for red,
0x3E for green and 0x1F for blue, the values would be 5, 5, 5,
1, in that order.
|
|
getEndianness
- Description
- Query whether color data bytes need to be swapped.
- Returns
- true, This method returns the endiannes of the color
data. The value is one of the ::Endianness
constants. If color data is 代表するd using more than one
byte, the actual channel positions are 明示するd using bit
positions. Therefore, depending on the architecture, the
actual color data bytes might need to get swapped, for the
bits to 提携させる 適切に.
- Example
- with a 16 bit 565 RGB 判型, written on a big endian
architecture, a 目的地 machine using little endian CPU
will need to 交換(する) the bytes, ーするために keep the green
channel bits together.
|
|
convertFromIntegerColorSpace
- Description
- 変える integer bitmap color to generic IEEE 二塁打 装置
color of another color space.
Color values are 適切に 一連の会議、交渉/完成するd and clipped, to be valid in
the 的 color space.
- Parameter deviceColor
- Sequence of 装置 color 構成要素s. Is
permitted to 含む/封じ込める more than one 装置 color element,
therefore, (製品,工事材料の)一回分 転換 of 多重の color values is
possible.
- Returns
- the corresponding sequence of 装置 colors in the
的 color space
- Throws
- a
com::sun::星/主役にする::lang::IllegalArgumentException,
if the input sequence does not match the 装置 color 判型.
|
|
convertToIntegerColorSpace
- Description
- 変える integer bitmap color to integer bitmap color of
another integer bitmap color space.
Color values are 適切に 一連の会議、交渉/完成するd and clipped, to be valid in
the 的 color space.
- Parameter deviceColor
- Sequence of 装置 color 構成要素s. Is
permitted to 含む/封じ込める more than one 装置 color element,
therefore, (製品,工事材料の)一回分 転換 of 多重の color values is
possible.
- Returns
- the corresponding sequence of 装置 colors in the
的 color space
- Throws
- a
com::sun::星/主役にする::lang::IllegalArgumentException,
if the input sequence does not match the 装置 color 判型.
|
|
convertIntegerToRGB
- Description
- 変える color value in this color space to sRGB color values.
Any (警察などへの)密告,告訴(状) not representable in the RGBColor
struct is discarded during the 転換. This 含むs alpha
(警察などへの)密告,告訴(状). Color values are 適切に 一連の会議、交渉/完成するd and clipped,
to be valid in the 的 color space.
- Parameter deviceColor
- Sequence of 装置 color 構成要素s. Is
permitted to 含む/封じ込める more than one 装置 color element,
therefore, (製品,工事材料の)一回分 転換 of 多重の color values is
possible.
- Returns
- the corresponding sequence of sRGB colors.
- Throws
- a
com::sun::星/主役にする::lang::IllegalArgumentException,
if the input sequence does not match the 装置 color 判型.
- See also
- XIntegerBitmapColorSpace::convertIntegerToARGB
|
|
convertIntegerToARGB
- Description
- 変える color value in this color space to sRGB color values,
with linear alpha.
If the given input color does not carry alpha (警察などへの)密告,告訴(状), an
alpha value of 1.0 (fully opaque) is assumed. Color values
are 適切に 一連の会議、交渉/完成するd and clipped, to be valid in the 的
color space.
- Parameter deviceColor
- Sequence of 装置 color 構成要素s. Is
permitted to 含む/封じ込める more than one 装置 color element,
therefore, (製品,工事材料の)一回分 転換 of 多重の color values is
possible.
- Returns
- the corresponding sequence of sRGB colors.
- Throws
- a
com::sun::星/主役にする::lang::IllegalArgumentException,
if the input sequence does not match the 装置 color 判型.
|
|
convertIntegerToPARGB
- Description
- 変える color value in this color space to premultiplied sRGB
color values, with linear alpha.
If the given input color does not carry alpha (警察などへの)密告,告訴(状), an
alpha value of 1.0 (fully opaque) is assumed. Color values
are 適切に 一連の会議、交渉/完成するd and clipped, to be valid in the 的
color space. The resulting individual RGB color values are
premultiplied by the alpha value (e.g. if alpha is 0.5, each
color value has only half of the 初めの intensity).
- Parameter deviceColor
- Sequence of 装置 color 構成要素s. Is
permitted to 含む/封じ込める more than one 装置 color element,
therefore, (製品,工事材料の)一回分 転換 of 多重の color values is
possible.
- Returns
- the corresponding sequence of sRGB colors.
- Throws
- a
com::sun::星/主役にする::lang::IllegalArgumentException,
if the input sequence does not match the 装置 color 判型.
|
|
convertIntegerFromRGB
- Description
- 変える sRGB color to an integer 代表 in this color
space.
If this color space 伝えるs alpha (警察などへの)密告,告訴(状), it is assumed
be fully opaque for the given rgb color value. Color values
are 適切に 一連の会議、交渉/完成するd and clipped, to be valid in the 的
color space.
- Parameter deviceColor
- Sequence of sRGB color 構成要素s. Is
permitted to 含む/封じ込める more than one color element, therefore,
(製品,工事材料の)一回分 転換 of 多重の color values is possible.
- Returns
- the corresponding sequence of 装置 colors.
- Throws
- a
com::sun::星/主役にする::lang::IllegalArgumentException,
if the input sequence does not match the 装置 color 判型.
|
|
convertIntegerFromARGB
- Description
- 変える sRGB color with linear alpha into this color space.
If this color space does not 伝える alpha (警察などへの)密告,告訴(状), the
明示するd alpha value is silently ignored. Color values are
適切に 一連の会議、交渉/完成するd and clipped, to be valid in the 的 color
space.
- Parameter deviceColor
- Sequence of sRGB color 構成要素s. Is
permitted to 含む/封じ込める more than one color element, therefore,
(製品,工事材料の)一回分 転換 of 多重の color values is possible.
- Returns
- the corresponding sequence of 装置 colors.
- Throws
- a
com::sun::星/主役にする::lang::IllegalArgumentException,
if the input sequence does not match the 装置 color 判型.
|
|
convertIntegerFromPARGB
- Description
- 変える premultiplied sRGB color with linear alpha into this
color space.
If this color space does not 伝える alpha (警察などへの)密告,告訴(状), the
明示するd alpha value is silently ignored. Color values are
適切に 一連の会議、交渉/完成するd and clipped, to be valid in the 的 color
space.
- Parameter deviceColor
- Sequence of sRGB color 構成要素s. Is
permitted to 含む/封じ込める more than one color element, therefore,
(製品,工事材料の)一回分 転換 of 多重の color values is possible. The
individual RGB color values are assumed to be premultiplied by
the alpha value already.
- Returns
- the corresponding sequence of 装置 colors.
- Throws
- a
com::sun::星/主役にする::lang::IllegalArgumentException,
if the input sequence does not match the 装置 color 判型.
|
|
Copyright © 2013, The Apache ソフトウェア 創立/基礎, Licensed under the Apache License, 見解/翻訳/版 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache ソフトウェア 創立/基礎. Other 指名するs may be trademarks of their 各々の owners.