
## Line class

Contains elements specifying general positioning information about a shape.

## Methods

| Name | Description |
| --- | --- |
| [deepClone()](#deepclone) | Creates deep copy of this instance. |
| [getBeginArrow()](#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()](#getbeginarrowsize) | Determines the size of the arrowhead at the beginning of the line. Enter a number from 0 to 6. |
| [getCompoundType()](#getcompoundtype) | Specifies the line CompoundType of the shape. |
| [getDel()](#getdel) | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| [getEndArrow()](#getendarrow) | Indicates whether a line has an arrowhead or other line-end format at its last vertex. |
| [getEndArrowSize()](#getendarrowsize) | Specifies the size of the arrowhead at the end of the line. |
| [getGradientLine()](#getgradientline) | Contains the current gradient line formatting values for the shape |
| [getLineCap()](#getlinecap) | Specifies whether a line has rounded or square line ends. |
| [getLineColor()](#getlinecolor) | Specifies the line color of the shape. |
| [getLineColorTrans()](#getlinecolortrans) | Specifies the transparency level of a shape's line color, from 0 (opaque) to 1 (completely transparent). The default is  |
| [getLinePattern()](#getlinepattern) | Specifies the line pattern of the shape |
| [getLineWeight()](#getlineweight) | Specifies the line weight of a shape. Line weight is independent of the scale of the drawing. If the drawing is scaled,  |
| [getRounding()](#getrounding) | Specifies the radius of the rounding arc applied where two contiguous segments of a path meet. For example, rounding can |
| [setBeginArrow()](#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()](#setbeginarrowsize) | Determines the size of the arrowhead at the beginning of the line. Enter a number from 0 to 6. |
| [setCompoundType()](#setcompoundtype) | Specifies the line CompoundType of the shape. |
| [setDel()](#setdel) | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| [setEndArrow()](#setendarrow) | Indicates whether a line has an arrowhead or other line-end format at its last vertex. |
| [setEndArrowSize()](#setendarrowsize) | Specifies the size of the arrowhead at the end of the line. |
| [setLineCap()](#setlinecap) | Specifies whether a line has rounded or square line ends. |
| [setLineColor()](#setlinecolor) | Specifies the line color of the shape. |
| [setLineColorTrans()](#setlinecolortrans) | Specifies the transparency level of a shape's line color, from 0 (opaque) to 1 (completely transparent). The default is  |
| [setLinePattern()](#setlinepattern) | Specifies the line pattern of the shape |
| [setLineWeight()](#setlineweight) | Specifies the line weight of a shape. Line weight is independent of the scale of the drawing. If the drawing is scaled,  |
| [setRounding()](#setrounding) | Specifies the radius of the rounding arc applied where two contiguous segments of a path meet. For example, rounding can |

### deepClone() {#deepclone}

Creates deep copy of this instance.

**Returns:** Object — `Object`

### getBeginArrow() {#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() {#getbeginarrowsize}

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

### getCompoundType() {#getcompoundtype}

Specifies the line CompoundType of the shape.

### getDel() {#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() {#getendarrow}

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

### getEndArrowSize() {#getendarrowsize}

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

### getGradientLine() {#getgradientline}

Contains the current gradient line formatting values for the shape

### getLineCap() {#getlinecap}

Specifies whether a line has rounded or square line ends.

### getLineColor() {#getlinecolor}

Specifies the line color of the shape.

### getLineColorTrans() {#getlinecolortrans}

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

### getLinePattern() {#getlinepattern}

Specifies the line pattern of the shape

### getLineWeight() {#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() {#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() {#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() {#setbeginarrowsize}

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

### setCompoundType() {#setcompoundtype}

Specifies the line CompoundType of the shape.

### setDel() {#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() {#setendarrow}

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

### setEndArrowSize() {#setendarrowsize}

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

### setLineCap() {#setlinecap}

Specifies whether a line has rounded or square line ends.

### setLineColor() {#setlinecolor}

Specifies the line color of the shape.

### setLineColorTrans() {#setlinecolortrans}

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

### setLinePattern() {#setlinepattern}

Specifies the line pattern of the shape

### setLineWeight() {#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() {#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.
