public static class Draw.Options
extends com.google.gwt.core.client.JavaScriptObject
Modifier and Type | Method and Description |
---|---|
static Draw.Options |
create() |
void |
setDrawTime(int drawTime) |
void |
setTolerance(int tolerance) |
void |
setTooltipOffset(int tooltipOffset) |
void |
showTooltips(boolean showToolTips) |
public static Draw.Options create()
public final void setDrawTime(int drawTime)
drawTime
- - Determines how much time to wait before adding a new point when using a freehand tool. The default value is 75.public final void showTooltips(boolean showToolTips)
showToolTips
- - If true, tooltips are displayed when creating new graphics with the draw toolbar. The default value is true.public final void setTolerance(int tolerance)
tolerance
- - Determines how far the mouse moves before adding a new point when using one of the freehand tools. The default value is 8.public final void setTooltipOffset(int tooltipOffset)
tooltipOffset
- - Determines how farm to offset the tool tip from the mouse pointer. The default value is 15.