This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Rounded Corners, Frame, Rectangle and Square
Creates one rectangle or one shape with rounded corners.
Options
- :x and :y – Coordinates for position.
- :corners – Value for rounded corners. Use 0 for straight angle.
- :width and :height – Size of frame
- :content – facade to ShapeContent with same parameters.
- :border – facade to Border with same parameters.
Examples using facade frame method inside Document.
d=RGhost::Document.new
d.frame :x => 3, :width => 7, :height => 5, :content => {:fill => false}

d=RGhost::Document.new
d.frame :x => 3, :width => 7, :height => 5, :content => {:color => '#35F6A3' }

d=RGhost::Document.new
d.frame :x => 3, :width => 7, :height => 5, :content => {:color => '#35F6A3' }, :border =>{:width => 5, :dash => [1,3,10]}

d=RGhost::Document.new
d.frame :x => 3, :width => 7, :height => 5, :content => {:color => '#35F6A3' }, :corners => 20

d=RGhost::Document.new
d.frame :x => 3, :width => 7, :height => 5, :content => {:color => :yellow }, :border => {:color => :red, :width => 4}, :corners => 20







