共用方式為


AnimationLerpingExtensions.Lerp 方法

定義

多載

Lerp(Color, Color, Double)
Lerp(Point, Point, Double)
Lerp(PointF, PointF, Double)
Lerp(Rect, Rect, Double)
Lerp(RectF, RectF, Double)
Lerp(Size, Size, Double)
Lerp(SizeF, SizeF, Double)
Lerp(SolidPaint, SolidPaint, Double)
Lerp(Thickness, Thickness, Double)
Lerp(Double, Double, Double)
Lerp(Nullable<Single>, Nullable<Single>, Double)
Lerp(Single, Single, Double)

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)

參數

start
Nullable<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

傳回

適用於