-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathTestPage.xaml
85 lines (71 loc) · 2.88 KB
/
TestPage.xaml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?xml version="1.0" encoding="utf-8" ?>
<views:BasePage
x:Class="MauiNet8.TestPage"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:controls="using:Sandbox.Views.Controls"
xmlns:draw="http://schemas.appomobi.com/drawnUi/2023/draw"
xmlns:generic="clr-namespace:System.Collections.Generic;assembly=System.Collections"
xmlns:sandbox="clr-namespace:Sandbox"
xmlns:views="clr-namespace:Sandbox.Views"
x:Name="ThisPage"
BackgroundColor="#000000">
<Grid
HorizontalOptions="Fill"
VerticalOptions="Fill">
<draw:Canvas
BackgroundColor="DarkSlateBlue"
Gestures="Enabled"
HardwareAcceleration="Enabled"
HorizontalOptions="Fill"
Tag="Main"
VerticalOptions="Fill">
<draw:SkiaLayout
HorizontalOptions="Fill"
Tag="Wrapper"
VerticalOptions="Fill">
<draw:SkiaImage
Aspect="AspectFit"
HeightRequest="200"
HorizontalOptions="Center"
SemanticProperties.Description="Image"
Source="{Binding Source={x:Reference ThisPage}, Path=ImageBytes, Converter={StaticResource ByteArrayToImageSourceConverter}}"
WidthRequest="200" />
<!--<draw:SkiaShape
BackgroundColor="White"
VerticalOptions="Center"
StrokeWidth="0"
HorizontalOptions="Center"
HeightRequest="44"
LockRatio="1"
Type="Circle">
<draw:SkiaShape.Shadows>
<draw:SkiaShadow
Blur="3"
Opacity="0.33"
X="4"
Y="4"
Color="Black" />
</draw:SkiaShape.Shadows>
<draw:SkiaShape
PathData="M0,0L15.825011,8.0009766 31.650999,15.997986 15.825011,23.998993 0,32 0,15.997986z"
HeightRequest="16"
LockRatio="1"
BackgroundColor="Black"
HorizontalOptions="Center"
VerticalOptions="Center"
Type="Path" />
</draw:SkiaShape>-->
<draw:SkiaLabelFps
Margin="0,0,4,24"
BackgroundColor="DarkRed"
HorizontalOptions="End"
Rotation="-45"
TextColor="White"
VerticalOptions="End"
ZIndex="100">
</draw:SkiaLabelFps>
</draw:SkiaLayout>
</draw:Canvas>
</Grid>
</views:BasePage>