Shape:setLineStyle: Difference between revisions
From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Sets the line style that `Shape` object uses for subsequent drawings. The line style remains in..." |
No edit summary |
||
| Line 7: | Line 7: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
Shape:setLineStyle(width,color,alpha) | |||
</source> | </source> | ||
'''width | '''width''': (number) The width of the line. If this parameter is 0, line is not drawn. ''''''<br/> | ||
'''color | '''color''': (number, default = 0x000000) A hexadecimal color value of the line. For example, red is 0xFF0000, blue is 0x0000FF, and so on. ''''''<br/> | ||
'''alpha | '''alpha''': (number, default = 1) The alpha value of the color of the line. ''''''<br/> | ||
Revision as of 09:21, 23 August 2018
Available since: Gideros 2011.6
Description
Sets the line style that `Shape` object uses for subsequent drawings. The line style remains in effect until you call `setLineStyle()` function with different
parameters.
Shape:setLineStyle(width,color,alpha)
'width: (number) The width of the line. If this parameter is 0, line is not drawn. '
'color: (number, default = 0x000000) A hexadecimal color value of the line. For example, red is 0xFF0000, blue is 0x0000FF, and so on. '
'alpha: (number, default = 1) The alpha value of the color of the line. '