HTML5 Course by a Famed best HTML5 Course courses in Delhi & HTML5 Course Training Courses Institute in Delhi


Course

Teacher

SANJAY JAIN

Category

HTML5 WORK

Some examples of Canvas Rectangle

1.First Example of Canvas Rectangle

Coding of this example

<canvas id="myCanvas" width="300" height="300"></canvas>
<script>
var ansh = document.getElementById('myCanvas');
var rect = ansh.getContext('2d');
rect.beginPath();
rect.rect(50, 50, 200, 200);
rect.fillStyle = 'red';
rect.fill(); </script>

2.Second Example of SVG Text with Stroke

Coding of this example

<svg height="80" width="400" id="text">
<text x="0" y="40" fill="red"stroke="black" stroke-width="2">
Hallow world of SVG text
</text>
</svg>


3.Third Example of SVG Vertical Text

Vertical Text

Coding of this example

<svg height="550" width="200" id="text">
<text x="50" y="10" fill="red" stroke="black" stroke-width="2" style="writing-mode: tb; glyph-orientation-vertical: 0; style="letter-spacing:65;>
Vertical Text
</text>
</svg>

4.Forth Example of SVG Text with transform

Hallow world of SVG text

Coding of this example

<svg height="420" width="500" id="text">
<text x="20" y="50" fill="red" transform="rotate(-90 220,200)">Hallow world of SVG text</text>
</svg>

html5 course in delhi

HTML5 Course


Course Period : 1 Months

Training Type : Classroom(Offline) | Online | Home Tuitions


To Know About Course Please Call Me: 9212189563, 9212001563


Get in Touch

Feel free to talk to our representative at any time you please using our Contact Form on our website.

Visit Us

263, First Floor Pocket H-17, Sector 7, Rohini Near Rohini West Metro Station Opposite Metro Pillar No. 425 Delhi-110085

Visit Us

25, First Floor Pocket F-2, Sector 16, Rohini Delhi-110089

Call Us

9212189563


Call Us

9212001563

Fill the Contact Form

Graphics design

whatsapp