Line class

Line class

Contains elements specifying general positioning information about a shape.

The Line type exposes the following members:

Properties

PropertyDescription
line_weightSpecifies 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.
gradient_lineContains the current gradient line formatting values for the shape
line_colorSpecifies the line color of the shape.
compound_typeSpecifies the line CompoundType of the shape.
line_patternSpecifies the line pattern of the shape
roundingSpecifies 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.
end_arrow_sizeSpecifies the size of the arrowhead at the end of the line.
begin_arrowIndicates 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.
end_arrowIndicates whether a line has an arrowhead or other line-end format at its last vertex.
line_capSpecifies whether a line has rounded or square line ends.
begin_arrow_sizeDetermines the size of the arrowhead at the beginning of the line. Enter a number from 0 to 6.
line_color_transSpecifies the transparency level of a shape’s line color, from 0 (opaque) to 1 (completely transparent). The default is 0.

Methods

MethodDescription
clone()Creates deep copy of this instance.

See Also