Table of Contents

Class DrawTo

Namespace
BOOSE
Assembly
BOOSE.dll

Draw a line from to current cursor position to the provided x,y position. drawto 200,200

public class DrawTo : CommandTwoParameters, ICommand
Inheritance
DrawTo
Implements
Inherited Members

Constructors

DrawTo()

blank constructor for factory instantiation.

public DrawTo()

DrawTo(Canvas, int, int)

draw from current position to x, y. cursor left at x,y

public DrawTo(Canvas c, int x, int y)

Parameters

c Canvas
x int

x position

y int

y position

Methods

Execute()

Execute the command

public override void Execute()