Status: New
Owner: ----

New issue 189 by Provide advanced graphical options under SWT

1. Line width
2. Transparency
3. Antialiasing

Although it is possible to add most of these options by subclassing,
it would be nice to offer them out of the box.
For transparency, a change in PSWTGraphics2D (1.3) is necessary, though (bd1):

    public void setTransparency(float transparency) { // bd1
        gc.setAlpha((int) (transparency*255f));

I have attached the classes ZPSWTCanvas and ZPSWTPath that add options for linewidth, transparency, and antialiasing

Attachments:  1.4 KB  1.6 KB

Piccolo2D Developers Group:

Reply via email to