Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Canvas ¶
type Canvas struct {
// contains filtered or unexported fields
}
Canvas is the Context that satisfy Open Closed Principle Open for extension, cloused for modification
func (*Canvas) GetCurrentTool ¶
func (*Canvas) SetCurrentTool ¶
type SelectionTool ¶
type SelectionTool struct{}
SelectionTool is the Concrete State
func (*SelectionTool) MouseDown ¶
func (s *SelectionTool) MouseDown()
func (*SelectionTool) MouseUp ¶
func (s *SelectionTool) MouseUp()
Click to show internal directories.
Click to hide internal directories.