-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
ImageSource.cs
29 lines (25 loc) · 1.22 KB
/
ImageSource.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#nullable disable
namespace Microsoft.Maui.Controls
{
/// <include file="../../../docs/Microsoft.Maui.Controls/ImageSource.xml" path="Type[@FullName='Microsoft.Maui.Controls.ImageSource']/Docs/*" />
public partial class ImageSource : IImageSource
{
}
/// <include file="../../../docs/Microsoft.Maui.Controls/FileImageSource.xml" path="Type[@FullName='Microsoft.Maui.Controls.FileImageSource']/Docs/*" />
public partial class FileImageSource : IFileImageSource
{
}
/// <include file="../../../docs/Microsoft.Maui.Controls/StreamImageSource.xml" path="Type[@FullName='Microsoft.Maui.Controls.StreamImageSource']/Docs/*" />
public partial class StreamImageSource : IStreamImageSource
{
}
/// <include file="../../../docs/Microsoft.Maui.Controls/UriImageSource.xml" path="Type[@FullName='Microsoft.Maui.Controls.UriImageSource']/Docs/*" />
public partial class UriImageSource : IUriImageSource, IStreamImageSource
{
}
/// <include file="../../../docs/Microsoft.Maui.Controls/FontImageSource.xml" path="Type[@FullName='Microsoft.Maui.Controls.FontImageSource']/Docs/*" />
public partial class FontImageSource : IFontImageSource
{
Font IFontImageSource.Font => Font.OfSize(FontFamily, Size, enableScaling: FontAutoScalingEnabled);
}
}