com.aspose.diagram

  • java.lang.Object
    • com.aspose.diagram.Line
  • All Implemented Interfaces:
    com.aspose.diagram.b.a.i, java.lang.Cloneable
    public class Line 
    extends java.lang.Object

Contains elements specifying general positioning information about a shape.

Property Getters/Setters Summary
IntValuegetBeginArrow()
void
           Indicates whether a line has an arrowhead or other line end format at its first vertex. Enter a number from 0 to 45 or the USE function with the name of a custom line end.
ArrowSizegetBeginArrowSize()
void
           Determines the size of the arrowhead at the beginning of the line. Enter a number from 0 to 6.
CompoundTypegetCompoundType()
void
           Specifies the line CompoundType of the shape.
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.
IntValuegetEndArrow()
void
           Indicates whether a line has an arrowhead or other line-end format at its last vertex.
ArrowSizegetEndArrowSize()
void
           Specifies the size of the arrowhead at the end of the line.
GradientFillgetGradientLine()
Contains the current gradient line formatting values for the shape
BoolValuegetLineCap()
void
           Specifies whether a line has rounded or square line ends.
ColorValuegetLineColor()
void
           Specifies the line color of the shape.
DoubleValuegetLineColorTrans()
void
           Specifies the transparency level of a shape's line color, from 0 (opaque) to 1 (completely transparent). The default is 0.
IntValuegetLinePattern()
void
           Specifies the line pattern of the shape
DoubleValuegetLineWeight()
void
           Specifies the line weight of a shape. Line weight is independent of the scale of the drawing. If the drawing is scaled, the line weight remains the same.
DoubleValuegetRounding()
void
           Specifies the radius of the rounding arc applied where two contiguous segments of a path meet. For example, rounding can be used to give a rectangle rounded corners.
 
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.
      • getLineWeight/setLineWeight

        public DoubleValue getLineWeight() / public void setLineWeight(DoubleValue value)
        
        Specifies the line weight of a shape. Line weight is independent of the scale of the drawing. If the drawing is scaled, the line weight remains the same.
      • getGradientLine

        public GradientFill getGradientLine()
        
        Contains the current gradient line formatting values for the shape
      • getLineColor/setLineColor

        public ColorValue getLineColor() / public void setLineColor(ColorValue value)
        
        Specifies the line color of the shape.
      • getCompoundType/setCompoundType

        public CompoundType getCompoundType() / public void setCompoundType(CompoundType value)
        
        Specifies the line CompoundType of the shape.
      • getLinePattern/setLinePattern

        public IntValue getLinePattern() / public void setLinePattern(IntValue value)
        
        Specifies the line pattern of the shape
      • getRounding/setRounding

        public DoubleValue getRounding() / public void setRounding(DoubleValue value)
        
        Specifies the radius of the rounding arc applied where two contiguous segments of a path meet. For example, rounding can be used to give a rectangle rounded corners.
      • getEndArrowSize/setEndArrowSize

        public ArrowSize getEndArrowSize() / public void setEndArrowSize(ArrowSize value)
        
        Specifies the size of the arrowhead at the end of the line.
      • getBeginArrow/setBeginArrow

        public IntValue getBeginArrow() / public void setBeginArrow(IntValue value)
        
        Indicates whether a line has an arrowhead or other line end format at its first vertex. Enter a number from 0 to 45 or the USE function with the name of a custom line end.
      • getEndArrow/setEndArrow

        public IntValue getEndArrow() / public void setEndArrow(IntValue value)
        
        Indicates whether a line has an arrowhead or other line-end format at its last vertex.
      • getLineCap/setLineCap

        public BoolValue getLineCap() / public void setLineCap(BoolValue value)
        
        Specifies whether a line has rounded or square line ends.
      • getBeginArrowSize/setBeginArrowSize

        public ArrowSize getBeginArrowSize() / public void setBeginArrowSize(ArrowSize value)
        
        Determines the size of the arrowhead at the beginning of the line. Enter a number from 0 to 6.
      • getLineColorTrans/setLineColorTrans

        public DoubleValue getLineColorTrans() / public void setLineColorTrans(DoubleValue value)
        
        Specifies the transparency level of a shape's line color, from 0 (opaque) to 1 (completely transparent). The default is 0.
    • Method Detail

      • deepClone

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