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
start
PointThe start location.
length
intThe length of the line.
orientation
OrientationThe orientation of the line.
style
LineStyleThe line style.
attribute
Attribute?The attribute to be used for rendering the line.