コード例 #1
0
ファイル: Path.java プロジェクト: andreyvit/yoursway-swt
 /**
  * Closes the current sub path by adding to the receiver a line from the current point of the path
  * back to the starting point of the sub path.
  *
  * @exception SWTException
  *     <ul>
  *       <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed
  *     </ul>
  */
 public void close() {
   if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
   handle.closePath();
 }