|
Eclipse Rich Ajax Platform Release 1.3 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.swt.graphics.LineAttributes
LineAttributes
defines a set of line attributes that
can be modified in a GC.
Application code does not need to explicitly release the
resources managed by each instance when those instances are no longer
required, and thus no dispose()
method is provided.
GC.getLineAttributes()
,
GC.setLineAttributes(LineAttributes)
,
Sample code and further informationField Summary | |
int |
cap
The line cap style. |
int |
join
The line join style. |
float |
width
The line width. |
Constructor Summary | |
LineAttributes(float width)
Create a new line attributes with the specified line width. |
|
LineAttributes(float width,
int cap,
int join)
Create a new line attributes with the specified line cap, join and width. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public float width
public int cap
SWT.CAP_FLAT
,
SWT.CAP_ROUND
,
SWT.CAP_SQUARE
public int join
SWT.JOIN_BEVEL
,
SWT.JOIN_MITER
,
SWT.JOIN_ROUND
Constructor Detail |
public LineAttributes(float width)
width
- the line widthpublic LineAttributes(float width, int cap, int join)
width
- the line widthcap
- the line cap stylejoin
- the line join style
|
Eclipse Rich Ajax Platform Release 1.3 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) Innoopract Informationssysteme GmbH and others 2002, 2009. All rights reserved.