Command for setting components' pattern attribute
#include <Unidraw/Commands/patcmd.h>
PatternCmd is a purely interpretive command for setting the pattern attribute of selected components.
PatternCmd(ControlInfo*, PSPattern* = nil)
PatternCmd(Editor* = nil, PSPattern* = nil)
Create a PatternCmd, optionally specifying the PSPattern that components should adopt.
virtual void Execute()
PatternCmd extends Execute to set the value of the affected editor's PatternVar instance, if it defines one.
PSPattern* GetPattern()
Return the PSPattern supplied in the constructor.
Command(3U), pspaint(3U), statevars(3U)