Class DrawableLine
- Namespace
- ImageMagick
- Assembly
- Magick.NET-Q16-AnyCPU.dll
Draws a line on the image using the current stroke color, stroke alpha, and stroke width.
public sealed class DrawableLine : IDrawableLine, IDrawable
- Inheritance
-
DrawableLine
- Implements
-
IDrawableLineIDrawable
- Inherited Members
Constructors
DrawableLine(double, double, double, double)
Initializes a new instance of the DrawableLine class.
public DrawableLine(double startX, double startY, double endX, double endY)
Parameters
startX
doubleThe starting X coordinate.
startY
doubleThe starting Y coordinate.
endX
doubleThe ending X coordinate.
endY
doubleThe ending Y coordinate.
Properties
EndX
Gets or sets the ending X coordinate.
public double EndX { get; set; }
Property Value
EndY
Gets or sets the ending Y coordinate.
public double EndY { get; set; }
Property Value
StartX
Gets or sets the starting X coordinate.
public double StartX { get; set; }
Property Value
StartY
Gets or sets the starting Y coordinate.
public double StartY { get; set; }