User Tools

Site Tools


gamedev:canvassystem:paint

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
gamedev:canvassystem:paint [2015/06/17 23:18] – created dragonlordgamedev:canvassystem:paint [2019/05/24 23:43] (current) – ↷ Links adapted because of a move operation dragonlord
Line 1: Line 1:
-gamedev:canvassystem:paint+{{tag>dragonscript graphic canvas ui shape}}
 <WRAP youarehere> <WRAP youarehere>
-[[:start|Start Page]] >> [[gamedev:main|Game Development with the Drag[en]gine]] >> [[gamedev:canvassystem:introduction|Canvas System]] >> **Canvas Paint**+[[:start|Start Page]] >> [[:gamedev|Game Development with the Drag[en]gine]] >> [[gamedev:canvassystem:introduction|Canvas System]] >> **Canvas Paint**
 </WRAP> </WRAP>
  
Line 7: Line 7:
 Canvas paint displays one or more **geometric shapes** with optional outline and fill color. A couple of basic geometric shapes are available for situations where a full image is not required. Shapes are stretched to fill the entire canvas while keeping the desired line thickness. Shapes have an individual line and fill color with support for transparency. The fill color affects the shape interior except the outline thickness. A line thickness of 0 renders only the fill color and vice versa. Thickness counts also for invisible line colors with an alpha component of 0. Thus invisible outlines with a thickness larger than 0 are not rendered but they reduce the filled area. The following shapes are supported Canvas paint displays one or more **geometric shapes** with optional outline and fill color. A couple of basic geometric shapes are available for situations where a full image is not required. Shapes are stretched to fill the entire canvas while keeping the desired line thickness. Shapes have an individual line and fill color with support for transparency. The fill color affects the shape interior except the outline thickness. A line thickness of 0 renders only the fill color and vice versa. Thickness counts also for invisible line colors with an alpha component of 0. Thus invisible outlines with a thickness larger than 0 are not rendered but they reduce the filled area. The following shapes are supported
  
-<WRAP center box 450px>+<WRAP center box 550px>
 {{ :gamedev:canvassystem:canvas_shapes.png |Canvas paint shape types}} {{ :gamedev:canvassystem:canvas_shapes.png |Canvas paint shape types}}
 <WRAP centeralign>Canvas paint shape types.</WRAP> <WRAP centeralign>Canvas paint shape types.</WRAP>
gamedev/canvassystem/paint.1434583090.txt.gz · Last modified: 2015/06/17 23:18 by dragonlord