com.aspose.diagram

  • java.lang.Object
    • com.aspose.diagram.XForm
  • All Implemented Interfaces:
    com.aspose.diagram.b.a.h
    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()
void
Represents the shape's current angle of rotation in relation to its parent.
intgetDel()
void
setDel(intvalue)
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()
void
Indicates whether the shape has been flipped horizontally
BoolValuegetFlipY()
void
Indicates whether the shape has been flipped vertically.
DoubleValuegetHeight()
void
Specifies the height of the shape in drawing units.
DoubleValuegetLocPinX()
void
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()
void
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()
void
setPinPos(intvalue)
Specifies the pin postion of the shape The value of the property is PinPosValue integer constant.
DoubleValuegetPinX()
void
Specifies the x-coordinate of the shape's pin (center of rotation) in relation to the origin of its parent.
DoubleValuegetPinY()
void
Specifies the y-coordinate of the shape's pin (center of rotation) in relation to the origin of its parent.
ResizeModegetResizeMode()
void
Specifies the current resize behavior setting for the shape when contained in a group.
DoubleValuegetWidth()
void
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 postion 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: