Advanced Software Engineering
Advanced_Software_Engineering.Verbs.DrawingVerbs.Square Class Reference

The Square IVerb class More...

Inheritance diagram for Advanced_Software_Engineering.Verbs.DrawingVerbs.Square:
Advanced_Software_Engineering.IVerb

Public Member Functions

 Square (Drawer drawer, IValue scale)
 A new Squre instance. Draws squares using RegularPolygon More...
 
 Square (Drawer drawer, IValue scale, IValue offset)
 A new Squre instance. Draws squares using RegularPolygon More...
 
void ExecuteVerb ()
 Draws the regular polygon (square) More...
 
string GetDescription ()
 Gets description of how it will draw the regular polygon (square) More...
 

Detailed Description

The Square IVerb class

Constructor & Destructor Documentation

◆ Square() [1/2]

Advanced_Software_Engineering.Verbs.DrawingVerbs.Square.Square ( Drawer  drawer,
IValue  scale 
)

A new Squre instance. Draws squares using RegularPolygon

Parameters
drawerdrawer
scalesize of the square

◆ Square() [2/2]

Advanced_Software_Engineering.Verbs.DrawingVerbs.Square.Square ( Drawer  drawer,
IValue  scale,
IValue  offset 
)

A new Squre instance. Draws squares using RegularPolygon

Parameters
drawerdrawer
scalesize of the square
offsetrotation offset in degrees

Member Function Documentation

◆ ExecuteVerb()

void Advanced_Software_Engineering.Verbs.DrawingVerbs.Square.ExecuteVerb ( )

Draws the regular polygon (square)

Implements Advanced_Software_Engineering.IVerb.

◆ GetDescription()

string Advanced_Software_Engineering.Verbs.DrawingVerbs.Square.GetDescription ( )

Gets description of how it will draw the regular polygon (square)

Returns

Implements Advanced_Software_Engineering.IVerb.


The documentation for this class was generated from the following file: