Methods' 詳細(に述べる)s |
setAlpha
- 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
- 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
- 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
- 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
- Description
- Make the sprite 明白な.
This method makes the sprite 明白な on the canvas it was
created on.
|
|
hide
- Description
- Make the sprite invisible.
This method makes the sprite invisible.
|
|
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.