gfx:path2image

(gfx:path2image path image stroke fill [stroke-width])


Description:

Draw path to image. essentially the same as gfx:draw-path. see gfx:draw-path for more information


Arguments:

           path -- path

          image -- image

         stroke -- stroke colour (r g b a). an emptly list will stop the stroke. the symbol stencil will remove the stroke (i.e. transparent)

   stroke-width -- optional stroke width

           fill -- fill colour (r g b a). an empty list will stop the fill. the symbol stencil will remove the fill (i.e. transparent)


Returns: boolean


Related: gfx:text2image gfx:image2image gfx:draw-path 


Examples:



Back to index