Skip to content

MobileApps-Cascadia/graphics-decorator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exercise

Create a second Decorator; Apply both; in different order; Add second Component

  • Fork and clone the repository

  • Create a new Decorator called ComponentWithHello that adds a “Hello” string to the component drawing;

  • Decorate a third circle with the ComponentWithHello Decorator and then decorate that result the ComponentWithRedFill Decorator

  • Change the decoration order and compare the output

  • Create a Rectangle class that stores location and sizeproperties for a rectangle and repeat the above decorations

About

IT-CS 350: Software Design Patterns & Techniques

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages