Line

Line class

Contains elements specifying general positioning information about a shape.

Methods

NameDescription
deepClone()Creates deep copy of this instance.
getBeginArrow()Indicates whether a line has an arrowhead or other line end format at its first vertex. Enter a number from 0 to 45 or t
getBeginArrowSize()Determines the size of the arrowhead at the beginning of the line. Enter a number from 0 to 6.
getCompoundType()Specifies the line CompoundType of the shape.
getDel()A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
getEndArrow()Indicates whether a line has an arrowhead or other line-end format at its last vertex.
getEndArrowSize()Specifies the size of the arrowhead at the end of the line.
getGradientLine()Contains the current gradient line formatting values for the shape
getLineCap()Specifies whether a line has rounded or square line ends.
getLineColor()Specifies the line color of the shape.
getLineColorTrans()Specifies the transparency level of a shape’s line color, from 0 (opaque) to 1 (completely transparent). The default is
getLinePattern()Specifies the line pattern of the shape
getLineWeight()Specifies the line weight of a shape. Line weight is independent of the scale of the drawing. If the drawing is scaled,
getRounding()Specifies the radius of the rounding arc applied where two contiguous segments of a path meet. For example, rounding can
setBeginArrow()Indicates whether a line has an arrowhead or other line end format at its first vertex. Enter a number from 0 to 45 or t
setBeginArrowSize()Determines the size of the arrowhead at the beginning of the line. Enter a number from 0 to 6.
setCompoundType()Specifies the line CompoundType of the shape.
setDel()A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
setEndArrow()Indicates whether a line has an arrowhead or other line-end format at its last vertex.
setEndArrowSize()Specifies the size of the arrowhead at the end of the line.
setLineCap()Specifies whether a line has rounded or square line ends.
setLineColor()Specifies the line color of the shape.
setLineColorTrans()Specifies the transparency level of a shape’s line color, from 0 (opaque) to 1 (completely transparent). The default is
setLinePattern()Specifies the line pattern of the shape
setLineWeight()Specifies the line weight of a shape. Line weight is independent of the scale of the drawing. If the drawing is scaled,
setRounding()Specifies the radius of the rounding arc applied where two contiguous segments of a path meet. For example, rounding can

deepClone()

Creates deep copy of this instance.

Returns: Object — Object

getBeginArrow()

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.

getBeginArrowSize()

Determines the size of the arrowhead at the beginning of the line. Enter a number from 0 to 6.

getCompoundType()

Specifies the line CompoundType of the shape.

getDel()

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.

getEndArrow()

Indicates whether a line has an arrowhead or other line-end format at its last vertex.

getEndArrowSize()

Specifies the size of the arrowhead at the end of the line.

getGradientLine()

Contains the current gradient line formatting values for the shape

getLineCap()

Specifies whether a line has rounded or square line ends.

getLineColor()

Specifies the line color of the shape.

getLineColorTrans()

Specifies the transparency level of a shape’s line color, from 0 (opaque) to 1 (completely transparent). The default is 0.

getLinePattern()

Specifies the line pattern of the shape

getLineWeight()

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.

getRounding()

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.

setBeginArrow()

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.

setBeginArrowSize()

Determines the size of the arrowhead at the beginning of the line. Enter a number from 0 to 6.

setCompoundType()

Specifies the line CompoundType of the shape.

setDel()

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.

setEndArrow()

Indicates whether a line has an arrowhead or other line-end format at its last vertex.

setEndArrowSize()

Specifies the size of the arrowhead at the end of the line.

setLineCap()

Specifies whether a line has rounded or square line ends.

setLineColor()

Specifies the line color of the shape.

setLineColorTrans()

Specifies the transparency level of a shape’s line color, from 0 (opaque) to 1 (completely transparent). The default is 0.

setLinePattern()

Specifies the line pattern of the shape

setLineWeight()

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.

setRounding()

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.