Class: Hokusai::Blocks::ScissorEnd

Inherits:
Hokusai::Block show all
Defined in:
ui/src/hokusai/blocks/scissor_end.rb

Instance Attribute Summary

Attributes inherited from Hokusai::Block

#node, #provides, #publisher

Instance Method Summary collapse

Methods inherited from Hokusai::Block

#children, #children?, compile, computed, computed!, #draw, #draw_with, #dump, #emit, #initialize, inject, inject!, #method_missing, mount, #on_resize, provide, provides, style, styles_get, template, template_from_file, template_get, #update, use, uses

Constructor Details

This class inherits a constructor from Hokusai::Block

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Hokusai::Block

Instance Method Details

#render(canvas) ⇒ Object



7
8
9
10
11
# File 'ui/src/hokusai/blocks/scissor_end.rb', line 7

def render(canvas)
  draw do
    scissor_end
  end
end