Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » A Dash Line is Possible?
A Dash Line is Possible? [message #188919] Sat, 23 July 2005 13:50 Go to next message
Eclipse UserFriend
Originally posted by: wudong.liu.gmail.com

Hi, All:
I'm wondering if can draw a dash line using Draw2D? is there an avaiable
implementation for this?

Respectfully.
Re: A Dash Line is Possible? [message #188926 is a reply to message #188919] Sat, 23 July 2005 14:52 Go to previous message
Konstantin Scheglov is currently offline Konstantin ScheglovFriend
Messages: 555
Registered: July 2009
Senior Member
Wudong Liu:

See org.eclipse.draw2d.Graphics, method setLineStyle(int style).
Here is also beginning of Graphics class:

public abstract class Graphics {

/** @see SWT#LINE_SOLID */
public static final int LINE_SOLID = SWT.LINE_SOLID;
/** @see SWT#LINE_DASH */
public static final int LINE_DASH = SWT.LINE_DASH;
/** @see SWT#LINE_DASHDOT */
public static final int LINE_DASHDOT = SWT.LINE_DASHDOT;
/** @see SWT#LINE_DASHDOTDOT */
public static final int LINE_DASHDOTDOT = SWT.LINE_DASHDOTDOT;
/** @see SWT#LINE_DOT */
public static final int LINE_DOT = SWT.LINE_DOT;


> Hi, All:
> I'm wondering if can draw a dash line using Draw2D? is there an avaiable
> implementation for this?
>
> Respectfully.


Konstantin Scheglov,
Google, Inc.
Previous Topic:opening a second editor
Next Topic:strange problem with getLocation()
Goto Forum:
  


Current Time: Thu Dec 12 17:25:47 GMT 2024

Powered by FUDForum. Page generated in 0.03120 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top