AnimationLerpingExtensions.Lerp 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Lerp(Color, Color, Double)
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Graphics::Color ^ Lerp(Microsoft::Maui::Graphics::Color ^ color, Microsoft::Maui::Graphics::Color ^ endColor, double progress);
public static Microsoft.Maui.Graphics.Color Lerp (this Microsoft.Maui.Graphics.Color color, Microsoft.Maui.Graphics.Color endColor, double progress);
static member Lerp : Microsoft.Maui.Graphics.Color * Microsoft.Maui.Graphics.Color * double -> Microsoft.Maui.Graphics.Color
<Extension()>
Public Function Lerp (color As Color, endColor As Color, progress As Double) As Color
参数
- color
- Color
- endColor
- Color
- progress
- Double
返回
适用于
Lerp(Point, Point, Double)
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Graphics::Point Lerp(Microsoft::Maui::Graphics::Point start, Microsoft::Maui::Graphics::Point end, double progress);
public static Microsoft.Maui.Graphics.Point Lerp (this Microsoft.Maui.Graphics.Point start, Microsoft.Maui.Graphics.Point end, double progress);
static member Lerp : Microsoft.Maui.Graphics.Point * Microsoft.Maui.Graphics.Point * double -> Microsoft.Maui.Graphics.Point
<Extension()>
Public Function Lerp (start As Point, end As Point, progress As Double) As Point
参数
- start
- Point
- end
- Point
- progress
- Double
返回
适用于
Lerp(PointF, PointF, Double)
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Graphics::PointF Lerp(Microsoft::Maui::Graphics::PointF start, Microsoft::Maui::Graphics::PointF end, double progress);
public static Microsoft.Maui.Graphics.PointF Lerp (this Microsoft.Maui.Graphics.PointF start, Microsoft.Maui.Graphics.PointF end, double progress);
static member Lerp : Microsoft.Maui.Graphics.PointF * Microsoft.Maui.Graphics.PointF * double -> Microsoft.Maui.Graphics.PointF
<Extension()>
Public Function Lerp (start As PointF, end As PointF, progress As Double) As PointF
参数
- start
- PointF
- end
- PointF
- progress
- Double
返回
适用于
Lerp(Rect, Rect, Double)
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Graphics::Rect Lerp(Microsoft::Maui::Graphics::Rect start, Microsoft::Maui::Graphics::Rect end, double progress);
public static Microsoft.Maui.Graphics.Rect Lerp (this Microsoft.Maui.Graphics.Rect start, Microsoft.Maui.Graphics.Rect end, double progress);
static member Lerp : Microsoft.Maui.Graphics.Rect * Microsoft.Maui.Graphics.Rect * double -> Microsoft.Maui.Graphics.Rect
<Extension()>
Public Function Lerp (start As Rect, end As Rect, progress As Double) As Rect
参数
- start
- Rect
- end
- Rect
- progress
- Double
返回
适用于
Lerp(RectF, RectF, Double)
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Graphics::RectF Lerp(Microsoft::Maui::Graphics::RectF start, Microsoft::Maui::Graphics::RectF end, double progress);
public static Microsoft.Maui.Graphics.RectF Lerp (this Microsoft.Maui.Graphics.RectF start, Microsoft.Maui.Graphics.RectF end, double progress);
static member Lerp : Microsoft.Maui.Graphics.RectF * Microsoft.Maui.Graphics.RectF * double -> Microsoft.Maui.Graphics.RectF
<Extension()>
Public Function Lerp (start As RectF, end As RectF, progress As Double) As RectF
参数
- start
- RectF
- end
- RectF
- progress
- Double
返回
适用于
Lerp(Size, Size, Double)
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Graphics::Size Lerp(Microsoft::Maui::Graphics::Size start, Microsoft::Maui::Graphics::Size end, double progress);
public static Microsoft.Maui.Graphics.Size Lerp (this Microsoft.Maui.Graphics.Size start, Microsoft.Maui.Graphics.Size end, double progress);
static member Lerp : Microsoft.Maui.Graphics.Size * Microsoft.Maui.Graphics.Size * double -> Microsoft.Maui.Graphics.Size
<Extension()>
Public Function Lerp (start As Size, end As Size, progress As Double) As Size
参数
- start
- Size
- end
- Size
- progress
- Double
返回
适用于
Lerp(SizeF, SizeF, Double)
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Graphics::SizeF Lerp(Microsoft::Maui::Graphics::SizeF start, Microsoft::Maui::Graphics::SizeF end, double progress);
public static Microsoft.Maui.Graphics.SizeF Lerp (this Microsoft.Maui.Graphics.SizeF start, Microsoft.Maui.Graphics.SizeF end, double progress);
static member Lerp : Microsoft.Maui.Graphics.SizeF * Microsoft.Maui.Graphics.SizeF * double -> Microsoft.Maui.Graphics.SizeF
<Extension()>
Public Function Lerp (start As SizeF, end As SizeF, progress As Double) As SizeF
参数
- start
- SizeF
- end
- SizeF
- progress
- Double
返回
适用于
Lerp(SolidPaint, SolidPaint, Double)
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Graphics::SolidPaint ^ Lerp(Microsoft::Maui::Graphics::SolidPaint ^ paint, Microsoft::Maui::Graphics::SolidPaint ^ endPaint, double progress);
public static Microsoft.Maui.Graphics.SolidPaint Lerp (this Microsoft.Maui.Graphics.SolidPaint paint, Microsoft.Maui.Graphics.SolidPaint endPaint, double progress);
static member Lerp : Microsoft.Maui.Graphics.SolidPaint * Microsoft.Maui.Graphics.SolidPaint * double -> Microsoft.Maui.Graphics.SolidPaint
<Extension()>
Public Function Lerp (paint As SolidPaint, endPaint As SolidPaint, progress As Double) As SolidPaint
参数
- paint
- SolidPaint
- endPaint
- SolidPaint
- progress
- Double
返回
适用于
Lerp(Thickness, Thickness, Double)
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Thickness Lerp(Microsoft::Maui::Thickness start, Microsoft::Maui::Thickness end, double progress);
public static Microsoft.Maui.Thickness Lerp (this Microsoft.Maui.Thickness start, Microsoft.Maui.Thickness end, double progress);
static member Lerp : Microsoft.Maui.Thickness * Microsoft.Maui.Thickness * double -> Microsoft.Maui.Thickness
<Extension()>
Public Function Lerp (start As Thickness, end As Thickness, progress As Double) As Thickness
参数
- start
- Thickness
- end
- Thickness
- progress
- Double
返回
适用于
Lerp(Double, Double, Double)
public:
[System::Runtime::CompilerServices::Extension]
static double Lerp(double start, double end, double progress);
public static double Lerp (this double start, double end, double progress);
static member Lerp : double * double * double -> double
<Extension()>
Public Function Lerp (start As Double, end As Double, progress As Double) As Double
参数
- start
- Double
- end
- Double
- progress
- Double
返回
适用于
Lerp(Nullable<Single>, Nullable<Single>, Double)
public:
[System::Runtime::CompilerServices::Extension]
static Nullable<float> Lerp(Nullable<float> start, Nullable<float> end, double progress);
public static float? Lerp (this float? start, float? end, double progress);
static member Lerp : Nullable<single> * Nullable<single> * double -> Nullable<single>
<Extension()>
Public Function Lerp (start As Nullable(Of Single), end As Nullable(Of Single), progress As Double) As Nullable(Of Single)
参数
- progress
- Double
返回
适用于
Lerp(Single, Single, Double)
public:
[System::Runtime::CompilerServices::Extension]
static float Lerp(float start, float end, double progress);
public static float Lerp (this float start, float end, double progress);
static member Lerp : single * single * double -> single
<Extension()>
Public Function Lerp (start As Single, end As Single, progress As Double) As Single
参数
- start
- Single
- end
- Single
- progress
- Double