Constructor StraightLine
StraightLine(Point, int, Orientation, LineStyle, Attribute?)
Creates a new instance of the StraightLine class.
public StraightLine(Point start, int length, Orientation orientation, LineStyle style, Attribute? attribute = null)
Parameters
startPointThe start location.
lengthintThe length of the line.
orientationOrientationThe orientation of the line.
styleLineStyleThe line style.
attributeAttribute?The attribute to be used for rendering the line.