PathInterpolator 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| PathInterpolator(Path) |
為任意的 |
| PathInterpolator(Context, IAttributeSet) |
為二次貝塞爾曲線建立一個插值器。 |
| PathInterpolator(IntPtr, JniHandleOwnership) |
建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。 |
| PathInterpolator(Single, Single) |
為二次貝塞爾曲線建立一個插值器。 |
| PathInterpolator(Single, Single, Single, Single) |
為三次貝塞爾曲線建立一個插值器。 |
PathInterpolator(Path)
為任意的 Path建立一個插值器。
[Android.Runtime.Register(".ctor", "(Landroid/graphics/Path;)V", "")]
public PathInterpolator(Android.Graphics.Path path);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Path;)V", "")>]
new Android.Views.Animations.PathInterpolator : Android.Graphics.Path -> Android.Views.Animations.PathInterpolator
參數
- path
- Path
用來 Path 組成代表插值器的線。
- 屬性
備註
為任意的 Path建立一個插值器。 必須Path從 開始(0, 0),並以 結束。(1, 1)
Java 文件 android.view.animation.PathInterpolator.PathInterpolator(android.graphics.Path)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
PathInterpolator(Context, IAttributeSet)
為二次貝塞爾曲線建立一個插值器。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public PathInterpolator(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Views.Animations.PathInterpolator : Android.Content.Context * Android.Util.IAttributeSet -> Android.Views.Animations.PathInterpolator
參數
- context
- Context
- attrs
- IAttributeSet
- 屬性
備註
Java 文件 android.view.animation.PathInterpolator.PathInterpolator(float, float)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
PathInterpolator(IntPtr, JniHandleOwnership)
建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。
protected PathInterpolator(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.Animations.PathInterpolator : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.Animations.PathInterpolator
參數
- transfer
- JniHandleOwnership
JniHandleOwnershipA 指示如何處理javaReference
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
PathInterpolator(Single, Single)
為二次貝塞爾曲線建立一個插值器。
[Android.Runtime.Register(".ctor", "(FF)V", "")]
public PathInterpolator(float controlX, float controlY);
[<Android.Runtime.Register(".ctor", "(FF)V", "")>]
new Android.Views.Animations.PathInterpolator : single * single -> Android.Views.Animations.PathInterpolator
參數
- controlX
- Single
這是二次貝茲爾控制點的 x 座標。
- controlY
- Single
二次貝塞爾控制點的 y 座標。
- 屬性
備註
為二次貝塞爾曲線建立一個插值器。 假設終點 (0, 0) 和 (1, 1) 。
Java 文件 android.view.animation.PathInterpolator.PathInterpolator(float, float)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
PathInterpolator(Single, Single, Single, Single)
為三次貝塞爾曲線建立一個插值器。
[Android.Runtime.Register(".ctor", "(FFFF)V", "")]
public PathInterpolator(float controlX1, float controlY1, float controlX2, float controlY2);
[<Android.Runtime.Register(".ctor", "(FFFF)V", "")>]
new Android.Views.Animations.PathInterpolator : single * single * single * single -> Android.Views.Animations.PathInterpolator
參數
- controlX1
- Single
三次貝塞爾的第一個控制點的 x 座標。
- controlY1
- Single
三次貝塞爾的第一個控制點的 y 座標。
- controlX2
- Single
三次貝茲的第二個控制點的 x 座標。
- controlY2
- Single
三次貝塞爾的第二個控制點的 y 座標。
- 屬性
備註
為三次貝塞爾曲線建立一個插值器。 假設終點 (0, 0) 和 (1, 1) 。
Java 文件 android.view.animation.PathInterpolator.PathInterpolator(float, float, float, float)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。