Open main menu

CDOT Wiki β

Changes

Canvas 3D - Line Tag

426 bytes added, 13:49, 10 March 2007
Tag Attributes
** The ''end'' attribute determines the end position of a line. A line is then drawn from its start position to its end position.
** ''This attribute cannot be omitted.''
* fillcolor
** '''Usage:''' <line fillcolor="#00FF00" />.
** The ''fillcolor'' attribute sets a specific color that will be painted inside the line.
** This value, if omitted, will default to black (#000000).
* bordercolor
** '''Usage:''' <line bordercolor="#FF00FF" />.
** The ''bordercolor'' attribute sets a specific color of the border.
** If omitted, the line will be drawn borderless.
*linecap
**'''Usage:''' <line linecap="round" />
<pre>
<canvas>
<line start="10, 20220" end="35350, 20100" fillcolor="#000" linecap="butt" />
</canvas>
</pre>
1
edit