LineAttributes

<code>LineAttributes</code> defines a set of line attributes that can be modified in a GC. <p> Application code does <em>not</em> need to explicitly release the resources managed by each instance when those instances are no longer required, and thus no <code>dispose()</code> method is provided. </p>

@see GC#getLineAttributes() @see GC#setLineAttributes(LineAttributes) @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>

@since 3.3

Constructors

this
this(float width)

Create a new line attributes with the specified line width.

this
this(float width, int cap, int join)

Create a new line attributes with the specified line cap, join and width.

this
this(float width, int cap, int join, int style, float[] dash, float dashOffset, float miterLimit)

Create a new line attributes with the specified arguments.

Members

Variables

cap
int cap;

The line cap style.

dash
float[] dash;

The line dash style for SWT.LINE_CUSTOM.

dashOffset
float dashOffset;

The line dash style offset for SWT.LINE_CUSTOM.

join
int join;

The line join style.

miterLimit
float miterLimit;

The line miter limit.

style
int style;

The line style.

width
float width;

The line width.

Meta