diff --git a/Annotations/HideFreeTextBorder/App.xaml b/Annotations/HideFreeTextBorder/App.xaml new file mode 100644 index 0000000..6d8de67 --- /dev/null +++ b/Annotations/HideFreeTextBorder/App.xaml @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/Annotations/HideFreeTextBorder/App.xaml.cs b/Annotations/HideFreeTextBorder/App.xaml.cs new file mode 100644 index 0000000..4dee1c1 --- /dev/null +++ b/Annotations/HideFreeTextBorder/App.xaml.cs @@ -0,0 +1,13 @@ +namespace HideFreeTextBorder +{ + public partial class App : Application + { + public App() + { + Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("Add license key"); + InitializeComponent(); + + MainPage = new AppShell(); + } + } +} diff --git a/Annotations/HideFreeTextBorder/AppShell.xaml b/Annotations/HideFreeTextBorder/AppShell.xaml new file mode 100644 index 0000000..2145e4a --- /dev/null +++ b/Annotations/HideFreeTextBorder/AppShell.xaml @@ -0,0 +1,15 @@ + + + + + + diff --git a/Annotations/HideFreeTextBorder/AppShell.xaml.cs b/Annotations/HideFreeTextBorder/AppShell.xaml.cs new file mode 100644 index 0000000..1e8da88 --- /dev/null +++ b/Annotations/HideFreeTextBorder/AppShell.xaml.cs @@ -0,0 +1,10 @@ +namespace HideFreeTextBorder +{ + public partial class AppShell : Shell + { + public AppShell() + { + InitializeComponent(); + } + } +} diff --git a/Annotations/HideFreeTextBorder/Assets/PDF_Succinctly1.pdf b/Annotations/HideFreeTextBorder/Assets/PDF_Succinctly1.pdf new file mode 100644 index 0000000..e2b2e2f Binary files /dev/null and b/Annotations/HideFreeTextBorder/Assets/PDF_Succinctly1.pdf differ diff --git a/Annotations/HideFreeTextBorder/HideFreeTextBorder.csproj b/Annotations/HideFreeTextBorder/HideFreeTextBorder.csproj new file mode 100644 index 0000000..5efc58a --- /dev/null +++ b/Annotations/HideFreeTextBorder/HideFreeTextBorder.csproj @@ -0,0 +1,74 @@ + + + + net8.0-android;net8.0-ios;net8.0-maccatalyst + $(TargetFrameworks);net8.0-windows10.0.19041.0 + + + + + + + Exe + HideFreeTextBorder + true + true + enable + enable + + + HideFreeTextBorder + + + com.companyname.hidefreetextborder + + + 1.0 + 1 + + 11.0 + 13.1 + 21.0 + 10.0.17763.0 + 10.0.17763.0 + 6.5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Annotations/HideFreeTextBorder/HideFreeTextBorder.sln b/Annotations/HideFreeTextBorder/HideFreeTextBorder.sln new file mode 100644 index 0000000..d5b048a --- /dev/null +++ b/Annotations/HideFreeTextBorder/HideFreeTextBorder.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.2.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HideFreeTextBorder", "HideFreeTextBorder.csproj", "{86EDEFCF-CFFF-A387-1C12-F82DC32E10D1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {86EDEFCF-CFFF-A387-1C12-F82DC32E10D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {86EDEFCF-CFFF-A387-1C12-F82DC32E10D1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {86EDEFCF-CFFF-A387-1C12-F82DC32E10D1}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {86EDEFCF-CFFF-A387-1C12-F82DC32E10D1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {86EDEFCF-CFFF-A387-1C12-F82DC32E10D1}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {E3DCF138-5B6E-4073-8F05-4519C952BD92} + EndGlobalSection +EndGlobal diff --git a/Annotations/HideFreeTextBorder/MainPage.xaml b/Annotations/HideFreeTextBorder/MainPage.xaml new file mode 100644 index 0000000..6cec2b2 --- /dev/null +++ b/Annotations/HideFreeTextBorder/MainPage.xaml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + diff --git a/Annotations/HideFreeTextBorder/MainPage.xaml.cs b/Annotations/HideFreeTextBorder/MainPage.xaml.cs new file mode 100644 index 0000000..f177831 --- /dev/null +++ b/Annotations/HideFreeTextBorder/MainPage.xaml.cs @@ -0,0 +1,26 @@ +using Syncfusion.Maui.PdfViewer; + +namespace HideFreeTextBorder +{ + public partial class MainPage : ContentPage + { + public MainPage() + { + // Initialize the components on this page + InitializeComponent(); + + // Customize the default settings for free text annotations + CustomizeDefaultFreeTextSettings(); + } + + // Method to customize default free text annotation settings + void CustomizeDefaultFreeTextSettings() + { + // Obtain the default settings for free text annotations + FreeTextAnnotationSettings freeTextSettings = pdfViewer.AnnotationSettings.FreeText; + + // Set the border width to 0 to hide the border around free text annotations + freeTextSettings.BorderWidth = 0; + } + } +} \ No newline at end of file diff --git a/Annotations/HideFreeTextBorder/MauiProgram.cs b/Annotations/HideFreeTextBorder/MauiProgram.cs new file mode 100644 index 0000000..f1fb555 --- /dev/null +++ b/Annotations/HideFreeTextBorder/MauiProgram.cs @@ -0,0 +1,26 @@ +using Microsoft.Extensions.Logging; +using Syncfusion.Maui.Core.Hosting; + +namespace HideFreeTextBorder; + +public static class MauiProgram +{ + public static MauiApp CreateMauiApp() + { + var builder = MauiApp.CreateBuilder(); + builder + .UseMauiApp() + .ConfigureSyncfusionCore() + .ConfigureFonts(fonts => + { + fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); + fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); + }); + +#if DEBUG + builder.Logging.AddDebug(); +#endif + + return builder.Build(); + } +} diff --git a/Annotations/HideFreeTextBorder/PdfViewerViewModel.cs b/Annotations/HideFreeTextBorder/PdfViewerViewModel.cs new file mode 100644 index 0000000..fb09fd0 --- /dev/null +++ b/Annotations/HideFreeTextBorder/PdfViewerViewModel.cs @@ -0,0 +1,50 @@ +using System.ComponentModel; +using System.Reflection; + + +namespace HideFreeTextBorder +{ + class PdfViewerViewModel : INotifyPropertyChanged + { + private Stream? pdfDocumentStream; + + /// + /// Occurs when a property value changes. + /// + public event PropertyChangedEventHandler? PropertyChanged; + + /// + /// Gets or sets the stream of the currently loaded PDF document. + /// + public Stream? PdfDocumentStream + { + get + { + return pdfDocumentStream; + } + set + { + pdfDocumentStream = value; + OnPropertyChanged(nameof(PdfDocumentStream)); + } + } + + /// + /// Initializes a new instance of the class. + /// + public PdfViewerViewModel() + { + // Set the embedded PDF stream + pdfDocumentStream = this.GetType().Assembly.GetManifestResourceStream("HideFreeTextBorder.Assets.PDF_Succinctly1.pdf"); + } + + /// + /// Raises the event for the specified property name. + /// + /// The name of the property that changed. + public void OnPropertyChanged(string name) + { + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name)); + } + } +} diff --git a/Annotations/HideFreeTextBorder/Platforms/Android/AndroidManifest.xml b/Annotations/HideFreeTextBorder/Platforms/Android/AndroidManifest.xml new file mode 100644 index 0000000..e9937ad --- /dev/null +++ b/Annotations/HideFreeTextBorder/Platforms/Android/AndroidManifest.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Annotations/HideFreeTextBorder/Platforms/Android/MainActivity.cs b/Annotations/HideFreeTextBorder/Platforms/Android/MainActivity.cs new file mode 100644 index 0000000..b1c0e03 --- /dev/null +++ b/Annotations/HideFreeTextBorder/Platforms/Android/MainActivity.cs @@ -0,0 +1,10 @@ +using Android.App; +using Android.Content.PM; +using Android.OS; + +namespace HideFreeTextBorder; + +[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, LaunchMode = LaunchMode.SingleTop, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] +public class MainActivity : MauiAppCompatActivity +{ +} diff --git a/Annotations/HideFreeTextBorder/Platforms/Android/MainApplication.cs b/Annotations/HideFreeTextBorder/Platforms/Android/MainApplication.cs new file mode 100644 index 0000000..3429908 --- /dev/null +++ b/Annotations/HideFreeTextBorder/Platforms/Android/MainApplication.cs @@ -0,0 +1,15 @@ +using Android.App; +using Android.Runtime; + +namespace HideFreeTextBorder; + +[Application] +public class MainApplication : MauiApplication +{ + public MainApplication(IntPtr handle, JniHandleOwnership ownership) + : base(handle, ownership) + { + } + + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} diff --git a/Annotations/HideFreeTextBorder/Platforms/Android/Resources/values/colors.xml b/Annotations/HideFreeTextBorder/Platforms/Android/Resources/values/colors.xml new file mode 100644 index 0000000..c04d749 --- /dev/null +++ b/Annotations/HideFreeTextBorder/Platforms/Android/Resources/values/colors.xml @@ -0,0 +1,6 @@ + + + #512BD4 + #2B0B98 + #2B0B98 + \ No newline at end of file diff --git a/Annotations/HideFreeTextBorder/Platforms/MacCatalyst/AppDelegate.cs b/Annotations/HideFreeTextBorder/Platforms/MacCatalyst/AppDelegate.cs new file mode 100644 index 0000000..9de1c7b --- /dev/null +++ b/Annotations/HideFreeTextBorder/Platforms/MacCatalyst/AppDelegate.cs @@ -0,0 +1,9 @@ +using Foundation; + +namespace HideFreeTextBorder; + +[Register("AppDelegate")] +public class AppDelegate : MauiUIApplicationDelegate +{ + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} diff --git a/Annotations/HideFreeTextBorder/Platforms/MacCatalyst/Entitlements.plist b/Annotations/HideFreeTextBorder/Platforms/MacCatalyst/Entitlements.plist new file mode 100644 index 0000000..de4adc9 --- /dev/null +++ b/Annotations/HideFreeTextBorder/Platforms/MacCatalyst/Entitlements.plist @@ -0,0 +1,14 @@ + + + + + + + com.apple.security.app-sandbox + + + com.apple.security.network.client + + + + diff --git a/Annotations/HideFreeTextBorder/Platforms/MacCatalyst/Info.plist b/Annotations/HideFreeTextBorder/Platforms/MacCatalyst/Info.plist new file mode 100644 index 0000000..7268977 --- /dev/null +++ b/Annotations/HideFreeTextBorder/Platforms/MacCatalyst/Info.plist @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + UIDeviceFamily + + 2 + + UIRequiredDeviceCapabilities + + arm64 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + XSAppIconAssets + Assets.xcassets/appicon.appiconset + + diff --git a/Annotations/HideFreeTextBorder/Platforms/MacCatalyst/Program.cs b/Annotations/HideFreeTextBorder/Platforms/MacCatalyst/Program.cs new file mode 100644 index 0000000..8eecaa2 --- /dev/null +++ b/Annotations/HideFreeTextBorder/Platforms/MacCatalyst/Program.cs @@ -0,0 +1,15 @@ +using ObjCRuntime; +using UIKit; + +namespace HideFreeTextBorder; + +public class Program +{ + // This is the main entry point of the application. + static void Main(string[] args) + { + // if you want to use a different Application Delegate class from "AppDelegate" + // you can specify it here. + UIApplication.Main(args, null, typeof(AppDelegate)); + } +} diff --git a/Annotations/HideFreeTextBorder/Platforms/Tizen/Main.cs b/Annotations/HideFreeTextBorder/Platforms/Tizen/Main.cs new file mode 100644 index 0000000..8e6bc74 --- /dev/null +++ b/Annotations/HideFreeTextBorder/Platforms/Tizen/Main.cs @@ -0,0 +1,16 @@ +using System; +using Microsoft.Maui; +using Microsoft.Maui.Hosting; + +namespace HideFreeTextBorder; + +class Program : MauiApplication +{ + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + + static void Main(string[] args) + { + var app = new Program(); + app.Run(args); + } +} diff --git a/Annotations/HideFreeTextBorder/Platforms/Tizen/tizen-manifest.xml b/Annotations/HideFreeTextBorder/Platforms/Tizen/tizen-manifest.xml new file mode 100644 index 0000000..5293033 --- /dev/null +++ b/Annotations/HideFreeTextBorder/Platforms/Tizen/tizen-manifest.xml @@ -0,0 +1,15 @@ + + + + + + maui-appicon-placeholder + + + + + http://tizen.org/privilege/internet + + + + \ No newline at end of file diff --git a/Annotations/HideFreeTextBorder/Platforms/Windows/App.xaml b/Annotations/HideFreeTextBorder/Platforms/Windows/App.xaml new file mode 100644 index 0000000..3c1d520 --- /dev/null +++ b/Annotations/HideFreeTextBorder/Platforms/Windows/App.xaml @@ -0,0 +1,8 @@ + + + diff --git a/Annotations/HideFreeTextBorder/Platforms/Windows/App.xaml.cs b/Annotations/HideFreeTextBorder/Platforms/Windows/App.xaml.cs new file mode 100644 index 0000000..f1b900c --- /dev/null +++ b/Annotations/HideFreeTextBorder/Platforms/Windows/App.xaml.cs @@ -0,0 +1,24 @@ +using Microsoft.UI.Xaml; + +// To learn more about WinUI, the WinUI project structure, +// and more about our project templates, see: http://aka.ms/winui-project-info. + +namespace HideFreeTextBorder.WinUI; + +/// +/// Provides application-specific behavior to supplement the default Application class. +/// +public partial class App : MauiWinUIApplication +{ + /// + /// Initializes the singleton application object. This is the first line of authored code + /// executed, and as such is the logical equivalent of main() or WinMain(). + /// + public App() + { + this.InitializeComponent(); + } + + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} + diff --git a/Annotations/HideFreeTextBorder/Platforms/Windows/Package.appxmanifest b/Annotations/HideFreeTextBorder/Platforms/Windows/Package.appxmanifest new file mode 100644 index 0000000..2c315d0 --- /dev/null +++ b/Annotations/HideFreeTextBorder/Platforms/Windows/Package.appxmanifest @@ -0,0 +1,46 @@ + + + + + + + + + $placeholder$ + User Name + $placeholder$.png + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Annotations/HideFreeTextBorder/Platforms/Windows/app.manifest b/Annotations/HideFreeTextBorder/Platforms/Windows/app.manifest new file mode 100644 index 0000000..f98bf87 --- /dev/null +++ b/Annotations/HideFreeTextBorder/Platforms/Windows/app.manifest @@ -0,0 +1,15 @@ + + + + + + + + true/PM + PerMonitorV2, PerMonitor + + + diff --git a/Annotations/HideFreeTextBorder/Platforms/iOS/AppDelegate.cs b/Annotations/HideFreeTextBorder/Platforms/iOS/AppDelegate.cs new file mode 100644 index 0000000..9de1c7b --- /dev/null +++ b/Annotations/HideFreeTextBorder/Platforms/iOS/AppDelegate.cs @@ -0,0 +1,9 @@ +using Foundation; + +namespace HideFreeTextBorder; + +[Register("AppDelegate")] +public class AppDelegate : MauiUIApplicationDelegate +{ + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} diff --git a/Annotations/HideFreeTextBorder/Platforms/iOS/Info.plist b/Annotations/HideFreeTextBorder/Platforms/iOS/Info.plist new file mode 100644 index 0000000..0004a4f --- /dev/null +++ b/Annotations/HideFreeTextBorder/Platforms/iOS/Info.plist @@ -0,0 +1,32 @@ + + + + + LSRequiresIPhoneOS + + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + XSAppIconAssets + Assets.xcassets/appicon.appiconset + + diff --git a/Annotations/HideFreeTextBorder/Platforms/iOS/Program.cs b/Annotations/HideFreeTextBorder/Platforms/iOS/Program.cs new file mode 100644 index 0000000..8eecaa2 --- /dev/null +++ b/Annotations/HideFreeTextBorder/Platforms/iOS/Program.cs @@ -0,0 +1,15 @@ +using ObjCRuntime; +using UIKit; + +namespace HideFreeTextBorder; + +public class Program +{ + // This is the main entry point of the application. + static void Main(string[] args) + { + // if you want to use a different Application Delegate class from "AppDelegate" + // you can specify it here. + UIApplication.Main(args, null, typeof(AppDelegate)); + } +} diff --git a/Annotations/HideFreeTextBorder/Platforms/iOS/Resources/PrivacyInfo.xcprivacy b/Annotations/HideFreeTextBorder/Platforms/iOS/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..24ab3b4 --- /dev/null +++ b/Annotations/HideFreeTextBorder/Platforms/iOS/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,51 @@ + + + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategorySystemBootTime + NSPrivacyAccessedAPITypeReasons + + 35F9.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryDiskSpace + NSPrivacyAccessedAPITypeReasons + + E174.1 + + + + + + diff --git a/Annotations/HideFreeTextBorder/Properties/launchSettings.json b/Annotations/HideFreeTextBorder/Properties/launchSettings.json new file mode 100644 index 0000000..edf8aad --- /dev/null +++ b/Annotations/HideFreeTextBorder/Properties/launchSettings.json @@ -0,0 +1,8 @@ +{ + "profiles": { + "Windows Machine": { + "commandName": "MsixPackage", + "nativeDebugging": false + } + } +} \ No newline at end of file diff --git a/Annotations/HideFreeTextBorder/README.md b/Annotations/HideFreeTextBorder/README.md new file mode 100644 index 0000000..f2cabb2 --- /dev/null +++ b/Annotations/HideFreeTextBorder/README.md @@ -0,0 +1,59 @@ +# How to hide the border of free text annotation in MAUI PDF Viewer? + +This folder contains a sample project that demonstrates How to hide the border of free text annotation in MAUI PDF Viewer + +## Prerequisites +1. .NET MAUI installed. +2. Syncfusion.Maui.PdfViewer NuGet package. + +## Steps to achieve borderless free text annotations: + +### 1. Install Required NuGet Package + +Create a .NET MAUI application and install the `Syncfusion.Maui.PdfViewer` NuGet package using the NuGet Package Manager or the CLI. + +### 2. Initialize PDF Viewer in XAML + +1. **Add Namespace:** + Include the Syncfusion namespace in your `MainPage.xaml` file to use the PDF Viewer control. + + ```xml + xmlns:syncfusion="clr-namespace:Syncfusion.Maui.PdfViewer;assembly=Syncfusion.Maui.PdfViewer" + ``` + +2. **Add PDF Viewer Control:** + Insert the `SfPdfViewer` control into your layout and bind it to a document source for displaying PDF files. + + ```xaml + + ``` + +### 3. Load a PDF Document + +Create a `PdfViewerViewModel` class and assign an embedded PDF file stream to the `PdfDocumentStream` property: + +```csharp +public class PdfViewerViewModel +{ + public Stream PdfDocumentStream { get; private set; } + + public PdfViewerViewModel() + { + // Set the embedded PDF stream + PdfDocumentStream = this.GetType().Assembly.GetManifestResourceStream("HideFreeTextBorder.Assets.PDF_Succinctly1.pdf"); + } +} +``` + +### 4. Customize Free Text Annotation + +To remove the border from free text annotations, set the `BorderWidth` property of `FreeTextAnnotationSettings` to `0` in your code-behind file: + +```csharp +FreeTextAnnotationSettings freeTextSettings = pdfViewer.AnnotationSettings.FreeText; +freeTextSettings.BorderWidth = 0; +``` + +### 5. Run the Application + +Run your .NET MAUI app, load a PDF, and add free text annotations using the toolbar. The annotations will render without visible borders. \ No newline at end of file diff --git a/Annotations/HideFreeTextBorder/Resources/AppIcon/appicon.svg b/Annotations/HideFreeTextBorder/Resources/AppIcon/appicon.svg new file mode 100644 index 0000000..9d63b65 --- /dev/null +++ b/Annotations/HideFreeTextBorder/Resources/AppIcon/appicon.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Annotations/HideFreeTextBorder/Resources/AppIcon/appiconfg.svg b/Annotations/HideFreeTextBorder/Resources/AppIcon/appiconfg.svg new file mode 100644 index 0000000..21dfb25 --- /dev/null +++ b/Annotations/HideFreeTextBorder/Resources/AppIcon/appiconfg.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Annotations/HideFreeTextBorder/Resources/Fonts/OpenSans-Regular.ttf b/Annotations/HideFreeTextBorder/Resources/Fonts/OpenSans-Regular.ttf new file mode 100644 index 0000000..ee3f28f Binary files /dev/null and b/Annotations/HideFreeTextBorder/Resources/Fonts/OpenSans-Regular.ttf differ diff --git a/Annotations/HideFreeTextBorder/Resources/Fonts/OpenSans-Semibold.ttf b/Annotations/HideFreeTextBorder/Resources/Fonts/OpenSans-Semibold.ttf new file mode 100644 index 0000000..bc81019 Binary files /dev/null and b/Annotations/HideFreeTextBorder/Resources/Fonts/OpenSans-Semibold.ttf differ diff --git a/Annotations/HideFreeTextBorder/Resources/Images/dotnet_bot.png b/Annotations/HideFreeTextBorder/Resources/Images/dotnet_bot.png new file mode 100644 index 0000000..f93ce02 Binary files /dev/null and b/Annotations/HideFreeTextBorder/Resources/Images/dotnet_bot.png differ diff --git a/Annotations/HideFreeTextBorder/Resources/Raw/AboutAssets.txt b/Annotations/HideFreeTextBorder/Resources/Raw/AboutAssets.txt new file mode 100644 index 0000000..89dc758 --- /dev/null +++ b/Annotations/HideFreeTextBorder/Resources/Raw/AboutAssets.txt @@ -0,0 +1,15 @@ +Any raw assets you want to be deployed with your application can be placed in +this directory (and child directories). Deployment of the asset to your application +is automatically handled by the following `MauiAsset` Build Action within your `.csproj`. + + + +These files will be deployed with your package and will be accessible using Essentials: + + async Task LoadMauiAsset() + { + using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt"); + using var reader = new StreamReader(stream); + + var contents = reader.ReadToEnd(); + } diff --git a/Annotations/HideFreeTextBorder/Resources/Splash/splash.svg b/Annotations/HideFreeTextBorder/Resources/Splash/splash.svg new file mode 100644 index 0000000..21dfb25 --- /dev/null +++ b/Annotations/HideFreeTextBorder/Resources/Splash/splash.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Annotations/HideFreeTextBorder/Resources/Styles/Colors.xaml b/Annotations/HideFreeTextBorder/Resources/Styles/Colors.xaml new file mode 100644 index 0000000..30307a5 --- /dev/null +++ b/Annotations/HideFreeTextBorder/Resources/Styles/Colors.xaml @@ -0,0 +1,45 @@ + + + + + + + #512BD4 + #ac99ea + #242424 + #DFD8F7 + #9880e5 + #2B0B98 + + White + Black + #D600AA + #190649 + #1f1f1f + + #E1E1E1 + #C8C8C8 + #ACACAC + #919191 + #6E6E6E + #404040 + #212121 + #141414 + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Annotations/HideFreeTextBorder/Resources/Styles/Styles.xaml b/Annotations/HideFreeTextBorder/Resources/Styles/Styles.xaml new file mode 100644 index 0000000..6641e3a --- /dev/null +++ b/Annotations/HideFreeTextBorder/Resources/Styles/Styles.xaml @@ -0,0 +1,427 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +