HTML and CSS Reference
In-Depth Information
y
The y position of the text on the canvas.
maxWidth
maxWidth
The maximum width ofthe text as rendered onthe canvas. At the time ofthis writing, this
property does not appear to be implemented in any browsers.
Figure 3-2. strokeText setting outline properties
The next iteration of Text Arranger adds the ability for the user to select fillText ,
strokeText , or both . Selecting both will give the fillText text a black border (the
strokeText ).IntheHTML <form> ,wewilladda <select> boxwiththe id fillOrStroke ,
which will allow the user to make the selections:
<select
<select id = "fillOrStroke" >
<option
<option value = "fill" > fill </option>
</option>
<option
<option value = "stroke" > stroke </option>
</option>
Search WWH ::




Custom Search