Line Class

Contains elements specifying general positioning information about a shape.
Inheritance Hierarchy
SystemObject
  Aspose.DiagramLine

Namespace:  Aspose.Diagram
Assembly:  Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.3.0.0 (20.3)
Syntax
public class Line : ICloneable

The Line type exposes the following members.

Properties
  NameDescription
Public propertyBeginArrow
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.
Public propertyBeginArrowSize
Determines the size of the arrowhead at the beginning of the line. Enter a number from 0 to 6.
Public propertyCompoundType
Specifies the line CompoundType of the shape.
Public propertyDel
A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.
Public propertyEndArrow
Indicates whether a line has an arrowhead or other line-end format at its last vertex.
Public propertyEndArrowSize
Specifies the size of the arrowhead at the end of the line.
Public propertyGradientLine
Contains the current gradient line formatting values for the shape
Public propertyLineCap
Specifies whether a line has rounded or square line ends.
Public propertyLineColor
Specifies the line color of the shape.
Public propertyLineColorTrans
Specifies the transparency level of a shape's line color, from 0 (opaque) to 1 (completely transparent). The default is 0.
Public propertyLinePattern
Specifies the line pattern of the shape
Public propertyLineWeight
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.
Public propertyRounding
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.
Methods
  NameDescription
Public methodClone
Creates deep copy of this instance.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also