com.aspose.diagram
Class Scratch

java.lang.Object
    extended by com.aspose.diagram.Scratch
All Implemented Interfaces:
java.lang.Cloneable

public class Scratch 
extends java.lang.Object

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.


Constructor Summary
Scratch()
           Constructor.
 
Property Getters/Setters Summary
ValuegetA()
voidsetA(Value)
           A general-purpose element.
ValuegetB()
voidsetB(Value)
           A general-purpose scratch element.
ValuegetC()
voidsetC(Value)
           A general-purpose element.
ValuegetD()
voidsetD(Value)
           A general-purpose element.
intgetDel()
voidsetDel(int)
           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.
intgetIX()
voidsetIX(int)
           The zero-based index of the element within its parent element.
DoubleValuegetX()
voidsetX(DoubleValue)
           Specifies an x-coordinate on a shape in local coordinates. The following table describes the X element based on the element that contains it.
DoubleValuegetY()
voidsetY(DoubleValue)
           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.
 
Method Summary
java.lang.ObjectdeepClone()
           Creates deep copy of this instance.
 

Constructor Detail

Scratch

public Scratch()
Constructor.

Property Getters/Setters Detail

getIX/setIX

public int getIX() / public void setIX(int value)
The zero-based index of the element within its parent element.

getDel/setDel

public int getDel() / public void setDel(int value)
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.

getA/setA

public Value getA() / public void setA(Value value)
A general-purpose element.

getB/setB

public Value getB() / public void setB(Value value)
A general-purpose scratch element.

getC/setC

public Value getC() / public void setC(Value value)
A general-purpose element.

getD/setD

public Value getD() / public void setD(Value value)
A general-purpose element.

getX/setX

public DoubleValue getX() / public void setX(DoubleValue value)
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/setY

public DoubleValue getY() / public void setY(DoubleValue value)
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.

Method Detail

deepClone

public java.lang.Object deepClone()
                throws java.lang.Exception
Creates deep copy of this instance.
Returns:

See Also:
          Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
          Aspose.Diagram Support Forum - our preferred method of support.