Partager via


AnimationLerpingExtensions.Lerp Method

Definition

Overloads

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)

Source:
AnimationLerpingExtensions.cs
Source:
AnimationLerpingExtensions.cs
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

Parameters

color
Color
endColor
Color
progress
Double

Returns

Applies to

Lerp(Point, Point, Double)

Source:
AnimationLerpingExtensions.cs
Source:
AnimationLerpingExtensions.cs
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

Parameters

start
Point
end
Point
progress
Double

Returns

Applies to

Lerp(PointF, PointF, Double)

Source:
AnimationLerpingExtensions.cs
Source:
AnimationLerpingExtensions.cs
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

Parameters

start
PointF
end
PointF
progress
Double

Returns

Applies to

Lerp(Rect, Rect, Double)

Source:
AnimationLerpingExtensions.cs
Source:
AnimationLerpingExtensions.cs
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

Parameters

start
Rect
end
Rect
progress
Double

Returns

Applies to

Lerp(RectF, RectF, Double)

Source:
AnimationLerpingExtensions.cs
Source:
AnimationLerpingExtensions.cs
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

Parameters

start
RectF
end
RectF
progress
Double

Returns

Applies to

Lerp(Size, Size, Double)

Source:
AnimationLerpingExtensions.cs
Source:
AnimationLerpingExtensions.cs
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

Parameters

start
Size
end
Size
progress
Double

Returns

Applies to

Lerp(SizeF, SizeF, Double)

Source:
AnimationLerpingExtensions.cs
Source:
AnimationLerpingExtensions.cs
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

Parameters

start
SizeF
end
SizeF
progress
Double

Returns

Applies to

Lerp(SolidPaint, SolidPaint, Double)

Source:
AnimationLerpingExtensions.cs
Source:
AnimationLerpingExtensions.cs
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

Parameters

paint
SolidPaint
endPaint
SolidPaint
progress
Double

Returns

Applies to

Lerp(Thickness, Thickness, Double)

Source:
AnimationLerpingExtensions.cs
Source:
AnimationLerpingExtensions.cs
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

Parameters

start
Thickness
end
Thickness
progress
Double

Returns

Applies to

Lerp(Double, Double, Double)

Source:
AnimationLerpingExtensions.cs
Source:
AnimationLerpingExtensions.cs
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

Parameters

start
Double
end
Double
progress
Double

Returns

Applies to

Lerp(Nullable<Single>, Nullable<Single>, Double)

Source:
AnimationLerpingExtensions.cs
Source:
AnimationLerpingExtensions.cs
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)

Parameters

start
Nullable<Single>
progress
Double

Returns

Applies to

Lerp(Single, Single, Double)

Source:
AnimationLerpingExtensions.cs
Source:
AnimationLerpingExtensions.cs
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

Parameters

start
Single
end
Single
progress
Double

Returns

Applies to