summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti <silenio>2005-06-07 15:29:27 +0000
committerSilenio Quarti <silenio>2005-06-07 15:29:27 +0000
commitfc8e38f2680acf108bcc8932def45b522b2f2367 (patch)
tree16bf0be3dafb75ed571dc367feed86cc0f7ed661
parentb63cf4fb1163387465ef726da9196e5a77238683 (diff)
downloadeclipse.platform.swt-fc8e38f2680acf108bcc8932def45b522b2f2367.tar.gz
eclipse.platform.swt-fc8e38f2680acf108bcc8932def45b522b2f2367.tar.xz
eclipse.platform.swt-fc8e38f2680acf108bcc8932def45b522b2f2367.zip
98596
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
index 7b9e0a8b13..c4c89c5033 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
@@ -2909,7 +2909,8 @@ public int getLineCap() {
}
/**
- * Returns the receiver's line dash style.
+ * Returns the receiver's line dash style. The default value is
+ * <code>null</code>.
*
* @return the lin dash style used for drawing lines
*
@@ -3781,7 +3782,10 @@ public void setLineCap(int cap) {
}
/**
- * Sets the receiver's line dash style to the argument.
+ * Sets the receiver's line dash style to the argument. The default
+ * value is <code>null</code>. If the argument is not <code>null</code>,
+ * the receiver's line style is set to <code>SWT.LINE_CUSTOM</code>, otherwise
+ * it is set to <code>SWT.LINE_SOLID</code>.
*
* @param dashes the dash style to be used for drawing lines
*