Scratch
Scratch class
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.
new Scratch()
Constructor.
Methods
| Name | Description |
|---|---|
| deepClone() | Creates deep copy of this instance. |
| getA() | A general-purpose element. |
| getB() | A general-purpose scratch element. |
| getC() | A general-purpose element. |
| getD() | A general-purpose element. |
| getDel() | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| getIX() | The zero-based index of the element within its parent element. |
| getX() | Specifies an x-coordinate on a shape in local coordinates. The following table describes the X element based on the elem |
| getY() | Specifies a y-coordinate on a shape in local coordinates. Local coordinates are those whose frame of reference is the sh |
| setA() | A general-purpose element. |
| setB() | A general-purpose scratch element. |
| setC() | A general-purpose element. |
| setD() | A general-purpose element. |
| setDel() | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| setIX() | The zero-based index of the element within its parent element. |
| setX() | Specifies an x-coordinate on a shape in local coordinates. The following table describes the X element based on the elem |
| setY() | Specifies a y-coordinate on a shape in local coordinates. Local coordinates are those whose frame of reference is the sh |
deepClone()
Creates deep copy of this instance.
Returns: Object — Object
getA()
A general-purpose element.
getB()
A general-purpose scratch element.
getC()
A general-purpose element.
getD()
A general-purpose element.
getDel()
A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
getIX()
The zero-based index of the element within its parent element.
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.
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.
setA()
A general-purpose element.
setB()
A general-purpose scratch element.
setC()
A general-purpose element.
setD()
A general-purpose element.
setDel()
A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
setIX()
The zero-based index of the element within its parent element.
setX()
Specifies an x-coordinate on a shape in local coordinates. The following table describes the X element based on the element that contains it.
setY()
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.