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

翻訳前ページへ


Interface XColorSpace
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XColorSpace
Description
(警察などへの)密告,告訴(状) how to 解釈する/通訳する 確かな color data.

This interface encapsulates all (警察などへの)密告,告訴(状) that is necessary to 解釈する/通訳する color data, by defining a 述べるing color space, like for example CMYK or sRGB. You can either 変える between this and an 独断的な other colorspace, or into the 基準 RGB or ARGB 判型s (because those are so 圧倒的に ありふれた in computer graphics).

All canvas interfaces 標準化する to sequences of IEEE (テニスなどの)ダブルス for color 代表. As this is 極端に verbose when used for bitmap data, derived interfaces 存在する, e.g. XIntegerBitmapColorSpace, which use sequences of integers for color 代表.


Methods' 要約
getType Query type of this color space. 
getComponentTags Query the 肉親,親類d for each color 構成要素. 
getRenderingIntent Query (判決などを)下すing 意図 of this color space. 
getProperties Query さまざまな optional 所有物/資産/財産s from the color space. 
convertColorSpace 変える to color of another color space. 
convertToRGB 変える color value in this color space to sRGB color values. 
convertToARGB 変える color value in this color space to sRGB color values, with linear alpha. 
convertToPARGB 変える color value in this color space to premultiplied sRGB color values, with linear alpha. 
convertFromRGB 変える sRGB color to a 代表 in this color space. 
convertFromARGB 変える sRGB color with linear alpha into this color space. 
convertFromPARGB 変える premultiplied sRGB color with linear alpha into this color space. 
Methods' 詳細(に述べる)s
getType
byte
getType();

Description
Query type of this color space.

Returns
a value from the ColorSpaceType constant group.
getComponentTags
sequence< byte >
getComponentTags();

Description
Query the 肉親,親類d for each color 構成要素.

Color space 構成要素s tend to correspond to physical せいにするs like the 量 of one 明確な/細部 colorant 含む/封じ込めるd in the final 生産(高) color. This method returns a sequence of tags, 明示するing for each 構成要素 of a color value, to what color せいにする (if any) it corresponds. The values must be one of the ColorComponentTag constants.

At the same time, the number of elements in this sequence corresponds to the number of color channels for this color space.

Example
For the 基準 RGB color space, ComponentTags consists of three elements, 含む/封じ込めるing RGB_RED, RGB_GREEN and RGB_BLUE tags, それぞれ
getRenderingIntent
byte
getRenderingIntent();

Description
Query (判決などを)下すing 意図 of this color space.

Returns
a value from the RenderingIntent constant group.
getProperties
sequence< ::com::sun::星/主役にする::beans::PropertyValue >
getProperties();

Description
Query さまざまな optional 所有物/資産/財産s from the color space.

If this color space has an ICC color profile, the sequence 含む/封じ込めるs an element 指名するd ICCProfile. Some color spaces also have 所有物/資産/財産s Gamma, Whitepoint and Blackpoint. Background (警察などへの)密告,告訴(状) for these is 利用できる here.

convertColorSpace
sequence< ColorComponent >
convertColorSpace( [in] sequence< ColorComponent >  deviceColor,
[in] XColorSpace  targetColorSpace )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
変える to color of another 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 (e.g. ::sequence or ::sequence).
Throws
a com::sun::星/主役にする::lang::IllegalArgumentException, if the input sequence does not match the 装置 color 判型 (e.g. if the number of 構成要素s is wrong)
convertToRGB
sequence< RGBColor >
convertToRGB( [in] sequence< ColorComponent >  deviceColor )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

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 (警察などへの)密告,告訴(状).

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 sRGB color space.
Throws
a com::sun::星/主役にする::lang::IllegalArgumentException, if the input sequence does not match the 装置 color 判型.
See also
convertToARGB
convertToARGB
sequence< ARGBColor >
convertToARGB( [in] sequence< ColorComponent >  deviceColor )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

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.

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 sRGB color space.
Throws
a com::sun::星/主役にする::lang::IllegalArgumentException, if the input sequence does not match the 装置 color 判型.
convertToPARGB
sequence< ARGBColor >
convertToPARGB( [in] sequence< ColorComponent >  deviceColor )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

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. 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 colors in the sRGB color space.
Throws
a com::sun::星/主役にする::lang::IllegalArgumentException, if the input sequence does not match the 装置 color 判型.
convertFromRGB
sequence< ColorComponent >
convertFromRGB( [in] sequence< RGBColor >  rgbColor )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
変える sRGB color to a 代表 in this color space.

If this color space 伝えるs alpha (警察などへの)密告,告訴(状), it is assumed be fully opaque for the given rgb color value.

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 判型.
convertFromARGB
sequence< ColorComponent >
convertFromARGB( [in] sequence< ARGBColor >  rgbColor )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
変える sRGB color with linear alpha into this color space.

If this color space does not 伝える alpha (警察などへの)密告,告訴(状), the 明示するd alpha value is silently ignored.

Parameter rgbColor
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 判型.
convertFromPARGB
sequence< ColorComponent >
convertFromPARGB( [in] sequence< ARGBColor >  rgbColor )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

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.

Parameter rgbColor
Sequence of sRGB color 構成要素s. Is permitted to 含む/封じ込める more than one color element, therefore, (製品,工事材料の)一回分 転換 of 多重の color values is possible. The individual color values are assumed to be premultiplied by the alpha value.
Returns
the corresponding sequence of 装置 colors.
Throws
a com::sun::星/主役にする::lang::IllegalArgumentException, if the input sequence does not match the 装置 color 判型.
最高の,を越す 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.