Class Line
Represents an operator that specifies drawing a line segment connecting two points.
public class Line : CanvasElement
- Inheritance
-
Line
- Inherited Members
Properties
Color
Gets or sets the color of the line.
[Range(0, 255)]
[Precision(0, 1)]
[TypeConverter(typeof(BgraScalarConverter))]
public Scalar Color { get; set; }
Property Value
End
Gets or sets the second point of the line segment.
public Point End { get; set; }
Property Value
LineType
Gets or sets a value specifying the line drawing algorithm used to draw the line.
public LineFlags LineType { get; set; }
Property Value
- LineFlags
Shift
Gets or sets the number of fractional bits in the point coordinates.
public int Shift { get; set; }
Property Value
Start
Gets or sets the first point of the line segment.
public Point Start { get; set; }
Property Value
Thickness
Gets or sets the thickness of the line.
public int Thickness { get; set; }
Property Value
Methods
GetRenderer()
Returns the line drawing operation.
protected override Action<IplImage> GetRenderer()