C# Class ImageMagick.DrawableLine

Draws a line on the image using the current stroke color, stroke alpha, and stroke width.
Inheritance: IDrawable
Show file Open project: dlemstra/Magick.NET

Public Methods

Method Description
DrawableLine ( double startX, double startY, double endX, double endY )

Initializes a new instance of the DrawableLine class.

IDrawable ( IDrawingWand wand ) : void

Draws this instance with the drawing wand.

Method Details

DrawableLine() public method

Initializes a new instance of the DrawableLine class.
public DrawableLine ( double startX, double startY, double endX, double endY )
startX double The starting X coordinate.
startY double The starting Y coordinate.
endX double The ending X coordinate.
endY double The ending Y coordinate.

IDrawable() public method

Draws this instance with the drawing wand.
public IDrawable ( IDrawingWand wand ) : void
wand IDrawingWand The want to draw on.
return void