Table of Contents

Class PenColour

Namespace
BOOSE
Assembly
BOOSE.dll

Set the pen for the next drawing operations to the provided r,g,b colour.

public class PenColour : CommandThreeParameters, ICommand
Inheritance
PenColour
Implements
Inherited Members

Methods

Execute()

Generic Execute() checks a command's parameter list and converts any variables and expressions to literal values Should be called (base.Execute() from derived Command classes before the derived Command uses the parameters to do its job. Derived Command should check it has the correct number of parameters and throw a CommandException if not.

public override void Execute()