SlideShare a Scribd company logo
FestiveTechCalendar 2021
https://festivetechcalendar.com
Drawing X-mas
controls in mobile
apps with Xamarin
Luis Beltrán
Microsoft MVP
Shapes
Shape is a View that you can use to draw something in Xamarin.Forms 5.
<Ellipse Fill="DarkBlue"
Stroke="Red"
StrokeThickness="4"
WidthRequest="150"
HeightRequest="50"
HorizontalOptions="Start" />
Shape Types
• Ellipse
• Line
• Path
• Polygon
• Polyline
• Rectangle
<Rectangle Fill="DarkBlue"
Stroke="Red"
StrokeThickness="4"
StrokeDashArray="1,1"
StrokeDashOffset="6"
WidthRequest="150"
HeightRequest="50"
HorizontalOptions="Start" />
<Polyline Points="20 20,250 50,20 120"
Stroke="DarkBlue"
StrokeThickness="20"
StrokeLineJoin="Round" />
Demo #1 - Drawing a X-mas Tree
Brush – Painting a Shape
A Brush object is required to Paint a Shape. Two properties are
provided: Stroke and Fill.
<Ellipse Fill="DarkBlue"
Stroke="Red"
StrokeThickness="4"
WidthRequest="150"
HeightRequest="50"
HorizontalOptions="Start" />
Brush Types
• SolidColorBrush
• LinearGradientBrush
• RadialGradientBrush
<LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
<GradientStop Color="Yellow" Offset="0.0" />
<GradientStop Color="Red" Offset="0.25" />
<GradientStop Color="Blue" Offset="0.75" />
<GradientStop Color="LimeGreen" Offset="1.0"
/> </LinearGradientBrush>
<Frame BorderColor="LightGray"
HasShadow="True"
CornerRadius="12"
HeightRequest="120"
WidthRequest="120">
<Frame.Background>
<RadialGradientBrush>
<GradientStop Color="Red" Offset="0.1" />
<GradientStop Color="DarkBlue" Offset="1.0"
/>
</RadialGradientBrush>
</Frame.Background>
</Frame>
Demo #2 – Creating X-mas Spheres
Demo #3 – Drawing a X-mas Star
Demo #4 – Drag & Drop
Thank you
https://festivetechcalendar.com
FestiveTechCalendar2021 Drawing Xmas controls Xamarin.pptx

More Related Content

More from icebeam7

Implementacion portable de modelos de Machine Learning con Docker.pptx
Implementacion portable de modelos de Machine Learning con Docker.pptxImplementacion portable de modelos de Machine Learning con Docker.pptx
Implementacion portable de modelos de Machine Learning con Docker.pptx
icebeam7
 
02 Global AI Bootcamp 2022 Sofia Voice biometry Recognizing speakers in our a...
02 Global AI Bootcamp 2022 Sofia Voice biometry Recognizing speakers in our a...02 Global AI Bootcamp 2022 Sofia Voice biometry Recognizing speakers in our a...
02 Global AI Bootcamp 2022 Sofia Voice biometry Recognizing speakers in our a...
icebeam7
 
01 GAIB Pune 2022 Session Rock Paper Scissors.pptx
01 GAIB Pune 2022 Session Rock Paper  Scissors.pptx01 GAIB Pune 2022 Session Rock Paper  Scissors.pptx
01 GAIB Pune 2022 Session Rock Paper Scissors.pptx
icebeam7
 
04 GlobalAI Speaker Latam Biometria de voz Reconocimiento por voz en nuestr...
04 GlobalAI Speaker Latam  Biometria de voz  Reconocimiento por voz en nuestr...04 GlobalAI Speaker Latam  Biometria de voz  Reconocimiento por voz en nuestr...
04 GlobalAI Speaker Latam Biometria de voz Reconocimiento por voz en nuestr...
icebeam7
 
Cosmos DB and Azure Functions A serverless database processing.pptx
Cosmos DB and Azure Functions  A serverless database processing.pptxCosmos DB and Azure Functions  A serverless database processing.pptx
Cosmos DB and Azure Functions A serverless database processing.pptx
icebeam7
 
Build Stuff 2021 Azure Video Indexer Advanced data extraction from video and ...
Build Stuff 2021 Azure Video Indexer Advanced data extraction from video and ...Build Stuff 2021 Azure Video Indexer Advanced data extraction from video and ...
Build Stuff 2021 Azure Video Indexer Advanced data extraction from video and ...
icebeam7
 
MVVM vs MVU en NET MAUI.pptx
MVVM vs MVU en NET MAUI.pptxMVVM vs MVU en NET MAUI.pptx
MVVM vs MVU en NET MAUI.pptx
icebeam7
 
Programa tu Pandemia 2 Azure Video Indexer.pptx
Programa tu Pandemia 2 Azure Video Indexer.pptxPrograma tu Pandemia 2 Azure Video Indexer.pptx
Programa tu Pandemia 2 Azure Video Indexer.pptx
icebeam7
 
Cumbre Virtual Juguemos Piedra Papel Tijeras con ML NET.pptx
Cumbre Virtual  Juguemos Piedra  Papel Tijeras con ML NET.pptxCumbre Virtual  Juguemos Piedra  Papel Tijeras con ML NET.pptx
Cumbre Virtual Juguemos Piedra Papel Tijeras con ML NET.pptx
icebeam7
 

More from icebeam7 (9)

Implementacion portable de modelos de Machine Learning con Docker.pptx
Implementacion portable de modelos de Machine Learning con Docker.pptxImplementacion portable de modelos de Machine Learning con Docker.pptx
Implementacion portable de modelos de Machine Learning con Docker.pptx
 
02 Global AI Bootcamp 2022 Sofia Voice biometry Recognizing speakers in our a...
02 Global AI Bootcamp 2022 Sofia Voice biometry Recognizing speakers in our a...02 Global AI Bootcamp 2022 Sofia Voice biometry Recognizing speakers in our a...
02 Global AI Bootcamp 2022 Sofia Voice biometry Recognizing speakers in our a...
 
01 GAIB Pune 2022 Session Rock Paper Scissors.pptx
01 GAIB Pune 2022 Session Rock Paper  Scissors.pptx01 GAIB Pune 2022 Session Rock Paper  Scissors.pptx
01 GAIB Pune 2022 Session Rock Paper Scissors.pptx
 
04 GlobalAI Speaker Latam Biometria de voz Reconocimiento por voz en nuestr...
04 GlobalAI Speaker Latam  Biometria de voz  Reconocimiento por voz en nuestr...04 GlobalAI Speaker Latam  Biometria de voz  Reconocimiento por voz en nuestr...
04 GlobalAI Speaker Latam Biometria de voz Reconocimiento por voz en nuestr...
 
Cosmos DB and Azure Functions A serverless database processing.pptx
Cosmos DB and Azure Functions  A serverless database processing.pptxCosmos DB and Azure Functions  A serverless database processing.pptx
Cosmos DB and Azure Functions A serverless database processing.pptx
 
Build Stuff 2021 Azure Video Indexer Advanced data extraction from video and ...
Build Stuff 2021 Azure Video Indexer Advanced data extraction from video and ...Build Stuff 2021 Azure Video Indexer Advanced data extraction from video and ...
Build Stuff 2021 Azure Video Indexer Advanced data extraction from video and ...
 
MVVM vs MVU en NET MAUI.pptx
MVVM vs MVU en NET MAUI.pptxMVVM vs MVU en NET MAUI.pptx
MVVM vs MVU en NET MAUI.pptx
 
Programa tu Pandemia 2 Azure Video Indexer.pptx
Programa tu Pandemia 2 Azure Video Indexer.pptxPrograma tu Pandemia 2 Azure Video Indexer.pptx
Programa tu Pandemia 2 Azure Video Indexer.pptx
 
Cumbre Virtual Juguemos Piedra Papel Tijeras con ML NET.pptx
Cumbre Virtual  Juguemos Piedra  Papel Tijeras con ML NET.pptxCumbre Virtual  Juguemos Piedra  Papel Tijeras con ML NET.pptx
Cumbre Virtual Juguemos Piedra Papel Tijeras con ML NET.pptx
 

Recently uploaded

20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
TIPNGVN2
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
Pixlogix Infotech
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 

Recently uploaded (20)

20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 

FestiveTechCalendar2021 Drawing Xmas controls Xamarin.pptx