TRICK SHADOW MAKE TEXT
it was good to be back to make something useful for the friends, and post this time is the trick to make text shadow, I'll blog more interesting, right? ok, let's try carefully together how to make shadow text,
Clear and foremost we need to know about coordinat and grid, and the first thing to note is to make the size of the field length and width, let's make this shadow text step by step to be easily understood,
create a canvas the size of the field.
<canvas height="90" id="id my shadow"width="350"> </ canvas>
then create a select type and size danjenis text, we use ctx.font = "font type and size you can choose yourself.
then make Efex shadow and color of the font you choose, for this use the shadow color, offset x or y, fillstyle, filltext (for each code was initially given a code ctx.
though more details see the following examples and there may also copy and paste to your posts.
<canvas height="90" id=myshadow" width ="350"> </ canvas>
<script type=text/javascript">
var canvas = document.getElement ById ('myshadow');
var ctx = canvas.getContext ('3 d ');
ctx.font = "bold 24px verdana";
ctx.shadowcolor = "yellow"; ctx.shadowOffsetX = 15;
ctx.shadowOffsetY = -10;
ctx.shadowBlur = 10;
ctx.fillStyle = "Magenta";
ctx.fillText ("TEXT SHADOW TIPS, 0, 50");
</ script>
end of said good luck, hopefully useful and continue to always try and make more significant changes, see you next dipostingan, greeting friends
it was good to be back to make something useful for the friends, and post this time is the trick to make text shadow, I'll blog more interesting, right? ok, let's try carefully together how to make shadow text,
Clear and foremost we need to know about coordinat and grid, and the first thing to note is to make the size of the field length and width, let's make this shadow text step by step to be easily understood,
create a canvas the size of the field.
<canvas height="90" id="id my shadow"width="350"> </ canvas>
then create a select type and size danjenis text, we use ctx.font = "font type and size you can choose yourself.
then make Efex shadow and color of the font you choose, for this use the shadow color, offset x or y, fillstyle, filltext (for each code was initially given a code ctx.
though more details see the following examples and there may also copy and paste to your posts.
<canvas height="90" id=myshadow" width ="350"> </ canvas>
<script type=text/javascript">
var canvas = document.getElement ById ('myshadow');
var ctx = canvas.getContext ('3 d ');
ctx.font = "bold 24px verdana";
ctx.shadowcolor = "yellow"; ctx.shadowOffsetX = 15;
ctx.shadowOffsetY = -10;
ctx.shadowBlur = 10;
ctx.fillStyle = "Magenta";
ctx.fillText ("TEXT SHADOW TIPS, 0, 50");
</ script>
end of said good luck, hopefully useful and continue to always try and make more significant changes, see you next dipostingan, greeting friends

Tidak ada komentar:
Posting Komentar