Now, assume one also desires the ability to add borders to windows. Again, the original Window class has no support. The ScrollingWindow subclass now poses a problem, because it has effectively created a new kind of window. If one wishes to add border support to many but not all windows, one must create subclasses WindowWithBorder and ScrollingWindowWithBorder etc. This problem gets worse with every new feature or window subtype to be added. For the decorator solution, we simply create a new BorderedWindowDecorator—at runtime, we can decorate existing windows with the ScrollingWindowDecorator or the BorderedWindowDecorator or both, as we see fit. Notice that if the functionality needs to be added to all Windows, you could modify the base class and that will do. On the other hand, sometimes (e.g., using external frameworks) it is not possible, legal, or convenient to modify the base class.
Rhythm is important in painting as it is in music. If one defines rhythm as "a pause incorporated into a sequence", then there can be rhythm in paintings. These pauses allow creative force to intervene and add new creations—form, melody, coloration. The distribution of form, or any kind of information is of crucial importance in the given work of art, and it directly affects the aesthetic value of that work. This is because the aesthetical value is functionality dependent, i.e. the freedom (of movement) of perception is perceived as beauty. Free flow of energy, in art as well as in other forms of "techne", directly contributes to the aesthetical value.
Some commonly used decorators that are even built-ins in Python are @classmethod, @staticmethod, and @property. The @classmethod and @staticmethod decorators are used to define methods inside a class namespace that are not connected to a particular instance of that class. The @property decorator is used to customize getters and setters for class attributes. Expand the box below for an example using these decorators.
The decorator pattern, also known as the wrapper pattern, is when you wrap an object within another object, thus providing a means of enhancing or overriding certain behavior. The wrapper object will delegate any incoming method calls to the original object, unless it defines a new method to enhance or replace the original object’s behavior. By using the decorator pattern, you can dynamically create as many decorated objects as you want, each enhancing the behavior of the original object in a unique way — and all without mutating the original object. In this manner, you can effectively add, remove, or extend behaviors at runtime.
Aerosol paint (also called spray paint) is a type of paint that comes in a sealed pressurized container and is released in a fine spray mist when depressing a valve button. A form of spray painting, aerosol paint leaves a smooth, evenly coated surface. Standard sized cans are portable, inexpensive and easy to store. Aerosol primer can be applied directly to bare metal and many plastics.

Moreover, the use of language is only an abstraction for a color equivalent. The word "red", for example, can cover a wide range of variations from the pure red of the visible spectrum of light. There is not a formalized register of different colors in the way that there is agreement on different notes in music, such as F or C♯. For a painter, color is not simply divided into basic (primary) and derived (complementary or mixed) colors (like red, blue, green, brown, etc.).