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.2.0.0 (20.2)
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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also