Class DrawContours
Represents an operator that specifies drawing contour outlines or filled interiors in an image.
public class DrawContours : CanvasElement
- Inheritance
-
DrawContours
- Inherited Members
Properties
Contour
Gets or sets the first contour to draw.
public Seq Contour { get; set; }
Property Value
ExternalColor
Gets or sets the color of the external contours.
[Range(0, 255)]
[Precision(0, 1)]
[TypeConverter(typeof(BgraScalarConverter))]
public Scalar ExternalColor { get; set; }
Property Value
HoleColor
Gets or sets the color of the internal holes.
[Range(0, 255)]
[Precision(0, 1)]
[TypeConverter(typeof(BgraScalarConverter))]
public Scalar HoleColor { get; set; }
Property Value
LineType
Gets or sets a value specifying the line drawing algorithm used to draw the contour boundaries.
public LineFlags LineType { get; set; }
Property Value
- LineFlags
MaxLevel
Gets or sets the maximum level of the contour hierarchy to draw.
public int MaxLevel { get; set; }
Property Value
Thickness
Gets or sets the thickness of the contour lines, if positive. Otherwise, the contour interiors will be drawn.
public int Thickness { get; set; }
Property Value
Methods
GetRenderer()
Returns the contour drawing operation.
protected override Action<IplImage> GetRenderer()