public class SWT2AWT
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.awt.geom.PathIterator |
toAWTPathIterator(org.eclipse.swt.graphics.PathData pathData,
int windingRule)
Converts an SWT
PathData into an equivalent AWT
PathIterator . |
public static java.awt.geom.PathIterator toAWTPathIterator(org.eclipse.swt.graphics.PathData pathData, int windingRule)
PathData
into an equivalent AWT
PathIterator
.pathData
- the PathData
to convert.windingRule
- the winding rule to use when constructing the
PathIterator
, i.e. one of SWT.FILL_WINDING
or
SWT.FILL_EVEN_ODD
.PathIterator
representing the same pathCopyright (c) 2014 itemis AG, and others. All rights reserved.