aspose.diagram
Class Line

Contains elements specifying general positioning information about a shape.

Property Getters/Setters Summary
functiongetBeginArrow()
functionsetBeginArrow(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.
functiongetBeginArrowSize()
functionsetBeginArrowSize(value)
           Determines the size of the arrowhead at the beginning of the line. Enter a number from 0 to 6.
functiongetCompoundType()
functionsetCompoundType(value)
           Specifies the line CompoundType of the shape.
functiongetDel()
functionsetDel(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.
functiongetEndArrow()
functionsetEndArrow(value)
           Indicates whether a line has an arrowhead or other line-end format at its last vertex.
functiongetEndArrowSize()
functionsetEndArrowSize(value)
           Specifies the size of the arrowhead at the end of the line.
functiongetGradientLine()
           Contains the current gradient line formatting values for the shape
functiongetLineCap()
functionsetLineCap(value)
           Specifies whether a line has rounded or square line ends.
functiongetLineColor()
functionsetLineColor(value)
           Specifies the line color of the shape.
functiongetLineColorTrans()
functionsetLineColorTrans(value)
           Specifies the transparency level of a shape's line color, from 0 (opaque) to 1 (completely transparent). The default is 0.
functiongetLinePattern()
functionsetLinePattern(value)
           Specifies the line pattern of the shape
functiongetLineWeight()
functionsetLineWeight(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.
functiongetRounding()
functionsetRounding(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.
 
Method Summary
functiondeepClone()
           Creates deep copy of this instance.
 

Property Getters/Setters Detail

getDel/setDel : Number 

function getDel() / function setDel(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 : DoubleValue 

function getLineWeight() / function setLineWeight(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 : GradientFill 

function getGradientLine()
Contains the current gradient line formatting values for the shape

getLineColor/setLineColor : ColorValue 

function getLineColor() / function setLineColor(value)
Specifies the line color of the shape.

getCompoundType/setCompoundType : CompoundType 

function getCompoundType() / function setCompoundType(value)
Specifies the line CompoundType of the shape.

getLinePattern/setLinePattern : IntValue 

function getLinePattern() / function setLinePattern(value)
Specifies the line pattern of the shape

getRounding/setRounding : DoubleValue 

function getRounding() / function setRounding(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 : ArrowSize 

function getEndArrowSize() / function setEndArrowSize(value)
Specifies the size of the arrowhead at the end of the line.

getBeginArrow/setBeginArrow : IntValue 

function getBeginArrow() / function setBeginArrow(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 : IntValue 

function getEndArrow() / function setEndArrow(value)
Indicates whether a line has an arrowhead or other line-end format at its last vertex.

getLineCap/setLineCap : BoolValue 

function getLineCap() / function setLineCap(value)
Specifies whether a line has rounded or square line ends.

getBeginArrowSize/setBeginArrowSize : ArrowSize 

function getBeginArrowSize() / function setBeginArrowSize(value)
Determines the size of the arrowhead at the beginning of the line. Enter a number from 0 to 6.

getLineColorTrans/setLineColorTrans : DoubleValue 

function getLineColorTrans() / function setLineColorTrans(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

function deepClone()
Creates deep copy of this instance.
Returns:

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.