Udostępnij za pośrednictwem


AnimationLerpingExtensions.Lerp Metoda

Definicja

Przeciążenia

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

Parametry

color
Color
endColor
Color
progress
Double

Zwraca

Dotyczy

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

Parametry

start
Point
end
Point
progress
Double

Zwraca

Dotyczy

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

Parametry

start
PointF
end
PointF
progress
Double

Zwraca

Dotyczy

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

Parametry

start
Rect
end
Rect
progress
Double

Zwraca

Dotyczy

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

Parametry

start
RectF
end
RectF
progress
Double

Zwraca

Dotyczy

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

Parametry

start
Size
end
Size
progress
Double

Zwraca

Dotyczy

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

Parametry

start
SizeF
end
SizeF
progress
Double

Zwraca

Dotyczy

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

Parametry

paint
SolidPaint
endPaint
SolidPaint
progress
Double

Zwraca

Dotyczy

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

Parametry

start
Thickness
end
Thickness
progress
Double

Zwraca

Dotyczy

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

Parametry

start
Double
end
Double
progress
Double

Zwraca

Dotyczy

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)

Parametry

start
Nullable<Single>
progress
Double

Zwraca

Dotyczy

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

Parametry

start
Single
end
Single
progress
Double

Zwraca

Dotyczy