Class
Scruffy::Components::Base
In:
lib/scruffy/components/base.rb
Parent:
Object
Methods
draw
new
process
relative
render
Attributes
id
[R]
options
[R]
position
[R]
In terms of percentages: [10, 10] == 10% by 10%
size
[R]
Public Class methods
new
(id, options = {})
Public Instance methods
draw
(svg, bounds, options={})
process
(svg, options={})
render
(svg, bounds, options={})
Protected Instance methods
relative
(pct)
[Validate]