
**Inheritance:**
java.lang.Object
```
public class Scratch
```

Contains a work area for entering and testing formulas that are referred to by other elements. This element is typically used to isolate repeated complex calculations.
## Constructors

| Constructor | Description |
| --- | --- |
| [Scratch()](#Scratch--) | Constructor. |
## Methods

| Method | Description |
| --- | --- |
| [deepClone()](#deepClone--) | Creates deep copy of this instance. |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getA()](#getA--) | A general-purpose element. |
| [getB()](#getB--) | A general-purpose scratch element. |
| [getC()](#getC--) | A general-purpose element. |
| [getClass()](#getClass--) |  |
| [getD()](#getD--) | A general-purpose element. |
| [getDel()](#getDel--) | A flag indicating whether the element has been deleted locally. |
| [getIX()](#getIX--) | The zero-based index of the element within its parent element. |
| [getX()](#getX--) | Specifies an x-coordinate on a shape in local coordinates. |
| [getY()](#getY--) | Specifies a y-coordinate on a shape in local coordinates. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setA(Value value)](#setA-com.aspose.diagram.Value-) | For the description of this property, please see [getA()](../../com.aspose.diagram/scratch\#getA--) |
| [setB(Value value)](#setB-com.aspose.diagram.Value-) | For the description of this property, please see [getB()](../../com.aspose.diagram/scratch\#getB--) |
| [setC(Value value)](#setC-com.aspose.diagram.Value-) | For the description of this property, please see [getC()](../../com.aspose.diagram/scratch\#getC--) |
| [setD(Value value)](#setD-com.aspose.diagram.Value-) | For the description of this property, please see [getD()](../../com.aspose.diagram/scratch\#getD--) |
| [setDel(int value)](#setDel-int-) | For the description of this property, please see [getDel()](../../com.aspose.diagram/scratch\#getDel--) |
| [setIX(int value)](#setIX-int-) | For the description of this property, please see [getIX()](../../com.aspose.diagram/scratch\#getIX--) |
| [setX(DoubleValue value)](#setX-com.aspose.diagram.DoubleValue-) | For the description of this property, please see [getX()](../../com.aspose.diagram/scratch\#getX--) |
| [setY(DoubleValue value)](#setY-com.aspose.diagram.DoubleValue-) | For the description of this property, please see [getY()](../../com.aspose.diagram/scratch\#getY--) |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### Scratch() {#Scratch--}
```
public Scratch()
```


Constructor.

### deepClone() {#deepClone--}
```
public Object deepClone()
```


Creates deep copy of this instance.

**Returns:**
java.lang.Object - 
### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getA() {#getA--}
```
public Value getA()
```


A general-purpose element.

**Returns:**
[Value](../../com.aspose.diagram/value)
### getB() {#getB--}
```
public Value getB()
```


A general-purpose scratch element.

**Returns:**
[Value](../../com.aspose.diagram/value)
### getC() {#getC--}
```
public Value getC()
```


A general-purpose element.

**Returns:**
[Value](../../com.aspose.diagram/value)
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getD() {#getD--}
```
public Value getD()
```


A general-purpose element.

**Returns:**
[Value](../../com.aspose.diagram/value)
### getDel() {#getDel--}
```
public int getDel()
```


A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.

**Returns:**
int
### getIX() {#getIX--}
```
public int getIX()
```


The zero-based index of the element within its parent element.

**Returns:**
int
### getX() {#getX--}
```
public DoubleValue getX()
```


Specifies an x-coordinate on a shape in local coordinates. The following table describes the X element based on the element that contains it.

**Returns:**
[DoubleValue](../../com.aspose.diagram/doublevalue)
### getY() {#getY--}
```
public DoubleValue getY()
```


Specifies a y-coordinate on a shape in local coordinates. Local coordinates are those whose frame of reference is the shape, instead of the page.

**Returns:**
[DoubleValue](../../com.aspose.diagram/doublevalue)
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setA(Value value) {#setA-com.aspose.diagram.Value-}
```
public void setA(Value value)
```


For the description of this property, please see [getA()](../../com.aspose.diagram/scratch\#getA--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Value](../../com.aspose.diagram/value) |  |

### setB(Value value) {#setB-com.aspose.diagram.Value-}
```
public void setB(Value value)
```


For the description of this property, please see [getB()](../../com.aspose.diagram/scratch\#getB--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Value](../../com.aspose.diagram/value) |  |

### setC(Value value) {#setC-com.aspose.diagram.Value-}
```
public void setC(Value value)
```


For the description of this property, please see [getC()](../../com.aspose.diagram/scratch\#getC--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Value](../../com.aspose.diagram/value) |  |

### setD(Value value) {#setD-com.aspose.diagram.Value-}
```
public void setD(Value value)
```


For the description of this property, please see [getD()](../../com.aspose.diagram/scratch\#getD--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Value](../../com.aspose.diagram/value) |  |

### setDel(int value) {#setDel-int-}
```
public void setDel(int value)
```


For the description of this property, please see [getDel()](../../com.aspose.diagram/scratch\#getDel--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setIX(int value) {#setIX-int-}
```
public void setIX(int value)
```


For the description of this property, please see [getIX()](../../com.aspose.diagram/scratch\#getIX--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setX(DoubleValue value) {#setX-com.aspose.diagram.DoubleValue-}
```
public void setX(DoubleValue value)
```


For the description of this property, please see [getX()](../../com.aspose.diagram/scratch\#getX--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [DoubleValue](../../com.aspose.diagram/doublevalue) |  |

### setY(DoubleValue value) {#setY-com.aspose.diagram.DoubleValue-}
```
public void setY(DoubleValue value)
```


For the description of this property, please see [getY()](../../com.aspose.diagram/scratch\#getY--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [DoubleValue](../../com.aspose.diagram/doublevalue) |  |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

