com.aspose.diagram
Class XForm

java.lang.Object
    extended by com.aspose.diagram.XForm
All Implemented Interfaces:
com.aspose.diagram.b.a.i

public class XForm 
extends java.lang.Object

Contains elements that control line attributes for a shape, such as pattern, weight, and color. These elements determine whether the line ends are formatted (for example, with an arrowhead), the size of line end formats, radius of the rounding circle applied to the line, and line cap style (round or square).

Property Getters/Setters Summary
DoubleValuegetAngle()
voidsetAngle(DoubleValue value)
           Represents the shape's current angle of rotation in relation to its parent.
intgetDel()
voidsetDel(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.
BoolValuegetFlipX()
voidsetFlipX(BoolValue value)
           Indicates whether the shape has been flipped horizontally
BoolValuegetFlipY()
voidsetFlipY(BoolValue value)
           Indicates whether the shape has been flipped vertically.
DoubleValuegetHeight()
voidsetHeight(DoubleValue value)
           Specifies the height of the shape in drawing units.
DoubleValuegetLocPinX()
voidsetLocPinX(DoubleValue value)
           Specifies the x-coordinate of the shape's pin (center of rotation) in relation to the origin of the shape. The default formula for determining LocPinX is: F='Width* 0.5'.
DoubleValuegetLocPinY()
voidsetLocPinY(DoubleValue value)
           Specifies the y-coordinate of the shape's pin (center of rotation) in relation to the origin of the shape. The default formula for determining LocPinY is: F='Height * 0.5'.
intgetPinPos()
voidsetPinPos(int value)
           Specifies the pin position of the shape The value of the property is PinPosValue integer constant.
DoubleValuegetPinX()
voidsetPinX(DoubleValue value)
           Specifies the x-coordinate of the shape's pin (center of rotation) in relation to the origin of its parent.
DoubleValuegetPinY()
voidsetPinY(DoubleValue value)
           Specifies the y-coordinate of the shape's pin (center of rotation) in relation to the origin of its parent.
ResizeModegetResizeMode()
voidsetResizeMode(ResizeMode value)
           Specifies the current resize behavior setting for the shape when contained in a group.
DoubleValuegetWidth()
voidsetWidth(DoubleValue value)
           Contains the width of the associated shape in drawing units.
 
Method Summary
java.lang.ObjectdeepClone()
           Creates deep copy of this instance.
 

Property Getters/Setters Detail

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.

getPinPos/setPinPos

public int getPinPos() / public void setPinPos(int value)
Specifies the pin position of the shape The value of the property is PinPosValue integer constant.

getPinX/setPinX

public DoubleValue getPinX() / public void setPinX(DoubleValue value)
Specifies the x-coordinate of the shape's pin (center of rotation) in relation to the origin of its parent.

getPinY/setPinY

public DoubleValue getPinY() / public void setPinY(DoubleValue value)
Specifies the y-coordinate of the shape's pin (center of rotation) in relation to the origin of its parent.

getWidth/setWidth

public DoubleValue getWidth() / public void setWidth(DoubleValue value)
Contains the width of the associated shape in drawing units.

getHeight/setHeight

public DoubleValue getHeight() / public void setHeight(DoubleValue value)
Specifies the height of the shape in drawing units.

getLocPinX/setLocPinX

public DoubleValue getLocPinX() / public void setLocPinX(DoubleValue value)
Specifies the x-coordinate of the shape's pin (center of rotation) in relation to the origin of the shape. The default formula for determining LocPinX is: F='Width* 0.5'.

getLocPinY/setLocPinY

public DoubleValue getLocPinY() / public void setLocPinY(DoubleValue value)
Specifies the y-coordinate of the shape's pin (center of rotation) in relation to the origin of the shape. The default formula for determining LocPinY is: F='Height * 0.5'.

getAngle/setAngle

public DoubleValue getAngle() / public void setAngle(DoubleValue value)
Represents the shape's current angle of rotation in relation to its parent.

getFlipX/setFlipX

public BoolValue getFlipX() / public void setFlipX(BoolValue value)
Indicates whether the shape has been flipped horizontally

getFlipY/setFlipY

public BoolValue getFlipY() / public void setFlipY(BoolValue value)
Indicates whether the shape has been flipped vertically.

getResizeMode/setResizeMode

public ResizeMode getResizeMode() / public void setResizeMode(ResizeMode value)
Specifies the current resize behavior setting for the shape when contained in a group.

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.