com.aspose.diagram
Class XForm

java.lang.Object
    extended by com.aspose.diagram.XForm

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)
           Represents the shape's current angle of rotation in relation to its parent.
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.
BoolValuegetFlipX()
voidsetFlipX(BoolValue)
           Indicates whether the shape has been flipped horizontally
BoolValuegetFlipY()
voidsetFlipY(BoolValue)
           Indicates whether the shape has been flipped vertically.
DoubleValuegetHeight()
voidsetHeight(DoubleValue)
           Specifies the height of the shape in drawing units.
DoubleValuegetLocPinX()
voidsetLocPinX(DoubleValue)
           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)
           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)
           Specifies the pin position of the shape The value of the property is PinPosValue integer constant.
DoubleValuegetPinX()
voidsetPinX(DoubleValue)
           Specifies the x-coordinate of the shape's pin (center of rotation) in relation to the origin of its parent.
DoubleValuegetPinY()
voidsetPinY(DoubleValue)
           Specifies the y-coordinate of the shape's pin (center of rotation) in relation to the origin of its parent.
ResizeModegetResizeMode()
voidsetResizeMode(ResizeMode)
           Specifies the current resize behavior setting for the shape when contained in a group.
DoubleValuegetWidth()
voidsetWidth(DoubleValue)
           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.