Table of Contents

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
IDrawableLine
IDrawable
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 double

The starting X coordinate.

startY double

The starting Y coordinate.

endX double

The ending X coordinate.

endY double

The ending Y coordinate.

Properties

EndX

Gets or sets the ending X coordinate.

public double EndX { get; set; }

Property Value

double

EndY

Gets or sets the ending Y coordinate.

public double EndY { get; set; }

Property Value

double

StartX

Gets or sets the starting X coordinate.

public double StartX { get; set; }

Property Value

double

StartY

Gets or sets the starting Y coordinate.

public double StartY { get; set; }

Property Value

double