[Gambas-user] Paint.Color and Dash questions

Rolf-Werner Eilert eilert-sprachen at ...221...
Thu Nov 19 10:06:57 CET 2015


Am 18.11.2015 18:41, schrieb Rolf-Werner Eilert:
> In a PDF, I tried to set Paint.Color(Color.Blue), but it makes a black
> line.
>
> Paint.Color(Color.RGB(190,190,190)) runs ok, nicely gray. But
> Paint.Color(Color.RGB(0,0,255)) makes a black line, too.
>
> How do I get this color thing colored?
>
> And then actually I would need a dashed line. But I do not understand
> the explanation for Paint.Dash. The line I need has like small spaces
> and longer strokes.
>
> Thanks for any insight :)
>
> Rolf
>
>

Ok, I found the solution for the colors: Printer.Grayscale = False will 
do it.

But how to make the dashed lines? Has anyone an easy example?

Thanks for any help!

Rolf





More information about the User mailing list