AnimationLerpingExtensions.Lerp Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- color
- Color
- endColor
- Color
- progress
- Double
Returns
Applies to
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
Parameters
- start
- Point
- end
- Point
- progress
- Double
Returns
Applies to
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
Parameters
- start
- PointF
- end
- PointF
- progress
- Double
Returns
Applies to
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
Parameters
- start
- Rect
- end
- Rect
- progress
- Double
Returns
Applies to
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
Parameters
- start
- RectF
- end
- RectF
- progress
- Double
Returns
Applies to
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
Parameters
- start
- Size
- end
- Size
- progress
- Double
Returns
Applies to
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
Parameters
- start
- SizeF
- end
- SizeF
- progress
- Double
Returns
Applies to
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
Parameters
- paint
- SolidPaint
- endPaint
- SolidPaint
- progress
- Double
Returns
Applies to
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
Parameters
- start
- Thickness
- end
- Thickness
- progress
- Double
Returns
Applies to
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
Parameters
- start
- Double
- end
- Double
- progress
- Double
Returns
Applies to
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)
Parameters
- progress
- Double
Returns
Applies to
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
Parameters
- start
- Single
- end
- Single
- progress
- Double
Returns
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.