SlideShare uma empresa Scribd logo
1 de 15
Baixar para ler offline
ingrandimento
Primitive grafiche
ingrandimento
<!DOCTYPE html>
<html>
<head/>
<meta charset="utf-8">
<title>Grafico Line</title>
</head>
<body>
<svg width="150" height="150">
Primitive grafiche
</svg>
</body>
</html>
<svg width="200" height="200"
viewBox=”0 0 100 100” >
<svg width="200" height="100"
viewBox=”0 0 100 100” >
<svg width="200" height="200"
viewBox=”-50 0 100 100” >
<svg width="200" height="200"
viewBox=”50 0 100 100” >
<svg width="400" height="110">
<rect x="10" y="30"
width="300" height="100"
style="fill : rgb(0,100,100);
stroke-width:4;
stroke:rgb(0,0,0)"/>
</svg>
<svg height="210" width="200"
viewBox="0 0 200 200">
<line x1="0" y1="0"
x2="200" y2="200"
style="stroke:rgb(255,0,0);
stroke-width:2" />
</svg>
line rect
<svg height="140" width="500">
<ellipse cx="200" cy="80"
rx="100" ry="50"
style="fill:yellow;
stroke:purple;
stroke-width:2" />
</svg>
<svg height="100" width="100">
<circle cx="50" cy="50" r="40"
style="stroke:black;
stroke-width:3;
fill:red" />
</svg>
circle ellipse
0,0 200
100
<svg width="400" height="200" viewBox=”0 0 200 100” >
<polygon points="20,90 70,20 130,20 180,90" style="fill:rgb(256,160,60);
stroke:rgb(60,160,240);
stroke-width:10"
</svg>
viewBox
<svg width="200" height="100" viewBox=”0 0 200 100” >
<path d ="M0 10 L100 50 L100 100 L200 0"
style="stroke:red; stroke-width:6; fill:none"
</svg>
<svg width="200" height="100" viewBox=”0 0 200 100” >
<path d="M50 50 A30 50 0 0 1 100 100"
style="stroke:red; stroke-width:6; fill:none"
</svg>
0
0
1
<svg width="200" height="200" viewBox=”0 0 200 200” >
<path d="M50,50 Q50,130 100,100"
style="stroke:red; stroke-width:6; fill:none"
</svg>
control point . Questo punto attrae
la curva come un magnete
50,130
Le primitive SVG possono essere riunite in gruppi attraverso il tag <g>...</g>
Esempio:
<g style="stroke:green; stroke-width:5;">
<line x1="0" y1="20" x2="70" y2="125"/>
<rect x="100" y="100" width="200" height="100" style="fill:#CCCC99;"/>
</g>
<svg width="150" height="150">
<g style="fill:green; stroke:none">
<rect x="0" y="40" width="10" height="110" />
<rect x="15" y="50" width="10" height="100" />
<rect x="30" y="53" width="10" height="97" />
<rect x="45" y="60 width="10" height="90" />
………..
<rect x="120" y="10" width="10" height="140" />
<rect x="135" y="20" width="10" height="130" />
</g>
</sgv>
Ciclo
Web base - SVG

Mais conteúdo relacionado

Mais procurados (7)

3D na Webu
3D na Webu3D na Webu
3D na Webu
 
Dfdf
DfdfDfdf
Dfdf
 
Presentation html5 css3 by thibaut
Presentation html5 css3 by thibautPresentation html5 css3 by thibaut
Presentation html5 css3 by thibaut
 
Automation Script for WO Summary in Maximo
Automation Script for WO Summary in MaximoAutomation Script for WO Summary in Maximo
Automation Script for WO Summary in Maximo
 
CSS3 Takes on the World
CSS3 Takes on the WorldCSS3 Takes on the World
CSS3 Takes on the World
 
CSS3 Implementable Features
CSS3 Implementable FeaturesCSS3 Implementable Features
CSS3 Implementable Features
 
CSS3 For WebKit: iPadDevCamp Presentation
CSS3 For WebKit: iPadDevCamp PresentationCSS3 For WebKit: iPadDevCamp Presentation
CSS3 For WebKit: iPadDevCamp Presentation
 

Destaque

us-fsi-closer-look-business-development-companies-041715 (1)
us-fsi-closer-look-business-development-companies-041715 (1)us-fsi-closer-look-business-development-companies-041715 (1)
us-fsi-closer-look-business-development-companies-041715 (1)
J. Lynette DeWitt
 
us-fsi-private-equity-growth-in-transition
us-fsi-private-equity-growth-in-transitionus-fsi-private-equity-growth-in-transition
us-fsi-private-equity-growth-in-transition
J. Lynette DeWitt
 
us-fsi-positioning-for-success-in-private-equity
us-fsi-positioning-for-success-in-private-equityus-fsi-positioning-for-success-in-private-equity
us-fsi-positioning-for-success-in-private-equity
J. Lynette DeWitt
 
Clinical project manager perfomance appraisal 2
Clinical project manager perfomance appraisal 2Clinical project manager perfomance appraisal 2
Clinical project manager perfomance appraisal 2
tonychoper2904
 
IPS bab dokumen keles 2 mi/sd semester 1
IPS bab dokumen keles 2 mi/sd semester 1IPS bab dokumen keles 2 mi/sd semester 1
IPS bab dokumen keles 2 mi/sd semester 1
joy_purnama
 

Destaque (20)

ForDataScientist - Python advanced data
ForDataScientist - Python advanced dataForDataScientist - Python advanced data
ForDataScientist - Python advanced data
 
WEB BASE - Una visione d'insieme delle tecnologie web
WEB BASE - Una visione d'insieme delle tecnologie webWEB BASE - Una visione d'insieme delle tecnologie web
WEB BASE - Una visione d'insieme delle tecnologie web
 
Python base lezione 2
Python base lezione 2Python base lezione 2
Python base lezione 2
 
Python base lezione 3
Python base lezione 3Python base lezione 3
Python base lezione 3
 
Python base lezione 4
Python base lezione 4Python base lezione 4
Python base lezione 4
 
Evaluation Question 3
Evaluation Question 3Evaluation Question 3
Evaluation Question 3
 
BitRush Investors Deck Update Oct 2015
BitRush Investors Deck Update Oct 2015BitRush Investors Deck Update Oct 2015
BitRush Investors Deck Update Oct 2015
 
Pożegnanie klas III 2016
Pożegnanie klas III 2016Pożegnanie klas III 2016
Pożegnanie klas III 2016
 
us-fsi-closer-look-business-development-companies-041715 (1)
us-fsi-closer-look-business-development-companies-041715 (1)us-fsi-closer-look-business-development-companies-041715 (1)
us-fsi-closer-look-business-development-companies-041715 (1)
 
Sales ICM
Sales ICMSales ICM
Sales ICM
 
us-fsi-private-equity-growth-in-transition
us-fsi-private-equity-growth-in-transitionus-fsi-private-equity-growth-in-transition
us-fsi-private-equity-growth-in-transition
 
Untitled Presentation
Untitled PresentationUntitled Presentation
Untitled Presentation
 
us-fsi-positioning-for-success-in-private-equity
us-fsi-positioning-for-success-in-private-equityus-fsi-positioning-for-success-in-private-equity
us-fsi-positioning-for-success-in-private-equity
 
Clinical project manager perfomance appraisal 2
Clinical project manager perfomance appraisal 2Clinical project manager perfomance appraisal 2
Clinical project manager perfomance appraisal 2
 
Zakończenie klas 3
Zakończenie klas 3Zakończenie klas 3
Zakończenie klas 3
 
IPS bab dokumen keles 2 mi/sd semester 1
IPS bab dokumen keles 2 mi/sd semester 1IPS bab dokumen keles 2 mi/sd semester 1
IPS bab dokumen keles 2 mi/sd semester 1
 
BitRush Investors Deck Nov 2015
BitRush Investors Deck Nov 2015BitRush Investors Deck Nov 2015
BitRush Investors Deck Nov 2015
 
Haitham Moukhtar CV.....
Haitham Moukhtar CV.....Haitham Moukhtar CV.....
Haitham Moukhtar CV.....
 
Professional Persona Project: Visual Resume
Professional Persona Project: Visual ResumeProfessional Persona Project: Visual Resume
Professional Persona Project: Visual Resume
 
abstract_tesi
abstract_tesiabstract_tesi
abstract_tesi
 

Semelhante a Web base - SVG

Div span__object_があればいい
Div  span__object_があればいいDiv  span__object_があればいい
Div span__object_があればいい
Shuhei Iitsuka
 
Web accessibility
Web accessibilityWeb accessibility
Web accessibility
Eb Styles
 
HTML5 and CSS3 – exploring mobile possibilities - Frontend Conference Zürich
HTML5 and CSS3 – exploring mobile possibilities - Frontend Conference ZürichHTML5 and CSS3 – exploring mobile possibilities - Frontend Conference Zürich
HTML5 and CSS3 – exploring mobile possibilities - Frontend Conference Zürich
Robert Nyman
 

Semelhante a Web base - SVG (20)

A HTML5 platform demókon keresztül
A HTML5 platform demókon keresztülA HTML5 platform demókon keresztül
A HTML5 platform demókon keresztül
 
SVG overview
SVG overviewSVG overview
SVG overview
 
Implementing Awesome: An HTML5/CSS3 Workshop
Implementing Awesome: An HTML5/CSS3 WorkshopImplementing Awesome: An HTML5/CSS3 Workshop
Implementing Awesome: An HTML5/CSS3 Workshop
 
Html5 SVG
Html5 SVGHtml5 SVG
Html5 SVG
 
Div span__object_があればいい
Div  span__object_があればいいDiv  span__object_があればいい
Div span__object_があればいい
 
Svg Basics
Svg BasicsSvg Basics
Svg Basics
 
SVG, CSS3, and D3 for Beginners
SVG, CSS3, and D3 for BeginnersSVG, CSS3, and D3 for Beginners
SVG, CSS3, and D3 for Beginners
 
Setting the Stage for SVG Animation
Setting the Stage for SVG AnimationSetting the Stage for SVG Animation
Setting the Stage for SVG Animation
 
dotCSS 2016: Hacking HTML Emails with CSS
dotCSS 2016: Hacking HTML Emails with CSSdotCSS 2016: Hacking HTML Emails with CSS
dotCSS 2016: Hacking HTML Emails with CSS
 
Canvas examples
Canvas examplesCanvas examples
Canvas examples
 
Index
IndexIndex
Index
 
shoubox script
shoubox scriptshoubox script
shoubox script
 
Лабораторная работа №1
Лабораторная работа №1Лабораторная работа №1
Лабораторная работа №1
 
Web accessibility
Web accessibilityWeb accessibility
Web accessibility
 
5. SVG.pptx
5. SVG.pptx5. SVG.pptx
5. SVG.pptx
 
фабрика Blockly
фабрика Blocklyфабрика Blockly
фабрика Blockly
 
Html5 intro
Html5 introHtml5 intro
Html5 intro
 
HTML5 and CSS3 – exploring mobile possibilities - Frontend Conference Zürich
HTML5 and CSS3 – exploring mobile possibilities - Frontend Conference ZürichHTML5 and CSS3 – exploring mobile possibilities - Frontend Conference Zürich
HTML5 and CSS3 – exploring mobile possibilities - Frontend Conference Zürich
 
SVG introduction
SVG   introductionSVG   introduction
SVG introduction
 
HTML5 تکنولوژی های موجود در
HTML5 تکنولوژی های موجود در HTML5 تکنولوژی های موجود در
HTML5 تکنولوژی های موجود در
 

Mais de Annalisa Vignoli

Mais de Annalisa Vignoli (13)

Presentazione Corsi FDS
Presentazione Corsi FDSPresentazione Corsi FDS
Presentazione Corsi FDS
 
Python base lezione 5
Python base lezione 5Python base lezione 5
Python base lezione 5
 
Python base lezione1
Python base lezione1Python base lezione1
Python base lezione1
 
Web base - Javascript (Node.js): Elementi di base
Web base - Javascript (Node.js): Elementi di baseWeb base - Javascript (Node.js): Elementi di base
Web base - Javascript (Node.js): Elementi di base
 
Web base - CSS e selettori
Web base - CSS e selettoriWeb base - CSS e selettori
Web base - CSS e selettori
 
Web base - HTML
Web base - HTMLWeb base - HTML
Web base - HTML
 
Presentazione Ulisse - Rame
Presentazione Ulisse - RamePresentazione Ulisse - Rame
Presentazione Ulisse - Rame
 
Presentazione Ulisse - Acciaio
Presentazione Ulisse - AcciaioPresentazione Ulisse - Acciaio
Presentazione Ulisse - Acciaio
 
Fordatascientist - Tecnologie Web base
Fordatascientist - Tecnologie Web baseFordatascientist - Tecnologie Web base
Fordatascientist - Tecnologie Web base
 
Fordascientist - Python reportlab
Fordascientist - Python reportlabFordascientist - Python reportlab
Fordascientist - Python reportlab
 
ForDataScientist - Python matplotlib
ForDataScientist - Python matplotlibForDataScientist - Python matplotlib
ForDataScientist - Python matplotlib
 
ForDataScientist - Python base parte2
ForDataScientist - Python base parte2ForDataScientist - Python base parte2
ForDataScientist - Python base parte2
 
ForDataScientist - Python base parte1
ForDataScientist - Python base parte1ForDataScientist - Python base parte1
ForDataScientist - Python base parte1
 

Último

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Último (20)

Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 

Web base - SVG

  • 1.
  • 3. <!DOCTYPE html> <html> <head/> <meta charset="utf-8"> <title>Grafico Line</title> </head> <body> <svg width="150" height="150"> Primitive grafiche </svg> </body> </html>
  • 4.
  • 5. <svg width="200" height="200" viewBox=”0 0 100 100” > <svg width="200" height="100" viewBox=”0 0 100 100” > <svg width="200" height="200" viewBox=”-50 0 100 100” > <svg width="200" height="200" viewBox=”50 0 100 100” >
  • 6. <svg width="400" height="110"> <rect x="10" y="30" width="300" height="100" style="fill : rgb(0,100,100); stroke-width:4; stroke:rgb(0,0,0)"/> </svg> <svg height="210" width="200" viewBox="0 0 200 200"> <line x1="0" y1="0" x2="200" y2="200" style="stroke:rgb(255,0,0); stroke-width:2" /> </svg> line rect
  • 7. <svg height="140" width="500"> <ellipse cx="200" cy="80" rx="100" ry="50" style="fill:yellow; stroke:purple; stroke-width:2" /> </svg> <svg height="100" width="100"> <circle cx="50" cy="50" r="40" style="stroke:black; stroke-width:3; fill:red" /> </svg> circle ellipse
  • 8. 0,0 200 100 <svg width="400" height="200" viewBox=”0 0 200 100” > <polygon points="20,90 70,20 130,20 180,90" style="fill:rgb(256,160,60); stroke:rgb(60,160,240); stroke-width:10" </svg> viewBox
  • 9.
  • 10. <svg width="200" height="100" viewBox=”0 0 200 100” > <path d ="M0 10 L100 50 L100 100 L200 0" style="stroke:red; stroke-width:6; fill:none" </svg> <svg width="200" height="100" viewBox=”0 0 200 100” > <path d="M50 50 A30 50 0 0 1 100 100" style="stroke:red; stroke-width:6; fill:none" </svg> 0 0 1
  • 11. <svg width="200" height="200" viewBox=”0 0 200 200” > <path d="M50,50 Q50,130 100,100" style="stroke:red; stroke-width:6; fill:none" </svg> control point . Questo punto attrae la curva come un magnete 50,130
  • 12.
  • 13. Le primitive SVG possono essere riunite in gruppi attraverso il tag <g>...</g> Esempio: <g style="stroke:green; stroke-width:5;"> <line x1="0" y1="20" x2="70" y2="125"/> <rect x="100" y="100" width="200" height="100" style="fill:#CCCC99;"/> </g>
  • 14. <svg width="150" height="150"> <g style="fill:green; stroke:none"> <rect x="0" y="40" width="10" height="110" /> <rect x="15" y="50" width="10" height="100" /> <rect x="30" y="53" width="10" height="97" /> <rect x="45" y="60 width="10" height="90" /> ……….. <rect x="120" y="10" width="10" height="140" /> <rect x="135" y="20" width="10" height="130" /> </g> </sgv> Ciclo