- Notifications
You must be signed in to change notification settings - Fork0
UWP app with OutlineTextBlock using Win2D
License
NotificationsYou must be signed in to change notification settings
sonnemaf/Outline
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository contains an Windows 10 UWP app with OutlineTextBlock using Win2D. It can be uses to display a text which is outlined. It is a first release which is not yet tested thouroughly. I plan to move it to thehttps://github.com/windows-toolkit/WindowsCommunityToolkit
<Pagex:Class="Outline.MainPage"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:local="using:Outline"xmlns:d="http://schemas.microsoft.com/expression/blend/2008"xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"mc:Ignorable="d"Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <Grid> <StackPanel> <local:OutlinedTextBlockText="Hello World"FontFamily="Showcard Gothic"FontWeight="Bold"FontSize="60"TextWrapping="Wrap"OutlineThickness="6"OutlineColor="Black"TextColor="White"HorizontalContentAlignment="Center"Width="250" /> <local:OutlinedTextBlockText="Fons Sonnemans"FontSize="60"FontStyle="Italic"OutlineThickness="6"HorizontalAlignment="Center"Padding="12" /> </StackPanel> </Grid></Page>