Class: RGhost::ShapeContent
- Defined in:
- lib/rghost/shape_content.rb
Overview
Responsible for fill shapes
Constant Summary collapse
- DEFAULT_OPTIONS =
{ :fill => true, :color => "#F0FFFF" }
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ShapeContent
constructor
You can use parameter :color(facade for Color.create) or disable using :fill => false.
- #ps ⇒ Object
Methods inherited from PsObject
#<<, #call, #graphic_scope, #raw, #set, #to_s
Constructor Details
#initialize(options = {}) ⇒ ShapeContent
You can use parameter :color(facade for Color.create) or disable using :fill => false
9 10 11 12 |
# File 'lib/rghost/shape_content.rb', line 9 def initialize(={}) super(""){} @options = DEFAULT_OPTIONS.dup.merge() end |