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

翻訳前ページへ


Interface XSprite
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XSprite
Description
Interface to 支配(する)/統制する a sprite 反対する.

This is the basic interface to 支配(する)/統制する a sprite 反対する on a XSpriteCanvas. Sprites are moving, 支援する-衝撃を和らげるものd 反対するs.


Methods' 要約
setAlpha 始める,決める 全体にわたる transparency of the sprite. 
move Move sprite to the 明示するd position. 
transform 適用する a 地元の 変形 to the sprite. 
clip 適用する a clipping to the 形態/調整 生産(高). 
setPriority 始める,決める sprite 優先. 
show Make the sprite 明白な. 
hide Make the sprite invisible. 
Methods' 詳細(に述べる)s
setAlpha
無効の
setAlpha( [in] 二塁打  nAlpha )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
始める,決める 全体にわたる transparency of the sprite.

This method is useful for e.g. fading in/out of 活気/アニメーションs.

Please 公式文書,認める that if this sprite is not animated, the associated XSpriteCanvas does not update changed sprites automatically, but has to be told to do so 経由で XSpriteCanvas::updateScreen().

Parameter nAlpha
New 全世界の alpha value to 合成物 this sprite with the background. Valid 範囲 is [0,1].
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if nAlpha is not within the permissible 範囲.
move
無効の
move( [in] ::com::sun::星/主役にする::geometry::RealPoint2D  aNewPos,
[in] ViewState  aViewState,
[in] RenderState  aRenderState )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
Move sprite to the 明示するd position.

The position 明示するd here is first transformed by the 連合させるd 見解(をとる) and (判決などを)下す 変形. The resulting position is then used as the 生産(高) position (also in 装置 調整するs) of the (判決などを)下すd sprite content.

Please 公式文書,認める that if this sprite is not animated, the associated ::XSpriteCanva does not update changed sprites automatically, but has to be told to do so 経由で XSpriteCanvas::updateScreen().

Parameter aNewPos
The new position, in 使用者 調整する space, to move the sprite to.
Parameter aViewState
The viewstate to be used when 解釈する/通訳するing aNewPos.
Parameter aRenderState
The renderstate to be used when 解釈する/通訳するing aNewPos.
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if one of the 見解(をとる) and renderstate parameters are outside the 明示するd 範囲.
transform
無効の
transform( [in] ::com::sun::星/主役にする::geometry::AffineMatrix2D  aTransformation )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
適用する a 地元の 変形 to the sprite.

The given 変形 matrix 地元で transforms the sprite 形態/調整. If this 変形 含む/封じ込めるs translational 構成要素s, be aware that sprite content moved beyond the sprite area (a box from (0,0) to (spriteWidth,spriteHeight)) might (but need not) be clipped. Use XSprite::move to change the sprite 場所 on 審査する. The canvas 実施s are 解放する/自由な, if they have a (武器などの)隠匿場所d 代表 of the sprite at 手渡す, to transform only this (武器などの)隠匿場所d 代表 (e.g. a bitmap), instead of re-(判決などを)下すing the sprite from first 原則s. This is usually the 事例/患者 for an 実施 of a XCustomSprite interface, since it typically has no other (武器などの)隠匿場所d pictorial (警察などへの)密告,告訴(状) at 手渡す.

Please 公式文書,認める that if this sprite is not animated, the associated XSpriteCanvas does not update changed sprites automatically, but has to be told to do so 経由で XSpriteCanvas::updateScreen().

Parameter aTransformation
The 変形 to 適用する to the sprite 形態/調整.
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if the given 変形 matrix is singular.
clip
無効の
clip( [in] XPolyPolygon2D  aClip );

Description
適用する a clipping to the 形態/調整 生産(高).

The given clip poly-polygon is always 解釈する/通訳するd in 装置 調整する space. As the sprite has its own 地元の 調整する system, with its origin on 審査する 存在 equal to its 現在の position, the clip poly-polygon's origin will always 同時に起こる/一致する with the sprite's origin. その上に, if any sprite 変形 is 始める,決める 経由で transform(), the clip is 支配する to this 変形, too. The 実施 is 解放する/自由な, if it has a (武器などの)隠匿場所d 代表 of the sprite at 手渡す, to clip-生産(高) only this (武器などの)隠匿場所d 代表 (e.g. a bitmap), instead of re-(判決などを)下すing the sprite from first 原則s. This is usually the 事例/患者 for an 実施 of a XCustomSprite interface, since it typically has no other (武器などの)隠匿場所d pictorial (警察などへの)密告,告訴(状) at 手渡す.

Please 公式文書,認める that if this sprite is not animated, the associated XSpriteCanvas does not update changed sprites automatically, but has to be told to do so 経由で XSpriteCanvas::updateScreen().

明示するing an empty interface denotes no clipping, i.e. everything 含む/封じ込めるd in the sprite will be 明白な (支配する to 装置-扶養家族 強制s, of course). 明示するing an empty XPolyPolygon2D, i.e. a poly-polygon 含む/封じ込めるing 無 polygons, or an XPolyPolygon2D with any number of empty sub-polygons, denotes the NULL clip. That means, nothing from the sprite will be 明白な.

Parameter aClip
The clip poly-polygon to 適用する.
setPriority
無効の
setPriority( [in] 二塁打  nPriority );

Description
始める,決める sprite 優先.

The sprite 優先 決定するs the order of (判決などを)下すing 親族 to all other sprites of the associated canvas. The higher the 優先, the later will the sprite be (判決などを)下すd, or, in other words, the closer to the 審査する surface the sprite is shown.

Parameter nPriority
New sprite 優先 value to serve as the sort 重要な when 決定するing sprite (判決などを)下すing order. 避ける NaNs and other 不規律な floating point values here, the order position for sprites with such a 優先 value is undefined.
show
無効の
show();

Description
Make the sprite 明白な.

This method makes the sprite 明白な on the canvas it was created on.

hide
無効の
hide();

Description
Make the sprite invisible.

This method makes the sprite invisible.

最高の,を越す 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.