Class: Shoes::Swt::Border
- Inherits:
-
Object
- Object
- Shoes::Swt::Border
- Extended by:
- Forwardable
- Defined in:
- shoes-swt/lib/shoes/swt/border.rb
Defined Under Namespace
Classes: Painter
Instance Attribute Summary collapse
-
#app ⇒ Object
readonly
Returns the value of attribute app.
-
#dsl ⇒ Object
readonly
Returns the value of attribute dsl.
-
#painter ⇒ Object
readonly
Returns the value of attribute painter.
-
#transform ⇒ Object
readonly
Returns the value of attribute transform.
Instance Method Summary collapse
- #corners ⇒ Object
-
#initialize(dsl, app) ⇒ Border
constructor
A new instance of Border.
Methods included from Common::Translate
#clear_translate, #translate_left, #translate_top
Methods included from Common::Visibility
#hidden?, #hidden_from_view?, #hide, #outside_parent_view?, #show, #toggle, #visible?
Methods included from Common::Remove
Methods included from Common::Stroke
Methods included from Common::Fill
Constructor Details
Instance Attribute Details
#app ⇒ Object (readonly)
Returns the value of attribute app.
16 17 18 |
# File 'shoes-swt/lib/shoes/swt/border.rb', line 16 def app @app end |
#dsl ⇒ Object (readonly)
Returns the value of attribute dsl.
16 17 18 |
# File 'shoes-swt/lib/shoes/swt/border.rb', line 16 def dsl @dsl end |
#painter ⇒ Object (readonly)
Returns the value of attribute painter.
16 17 18 |
# File 'shoes-swt/lib/shoes/swt/border.rb', line 16 def painter @painter end |
#transform ⇒ Object (readonly)
Returns the value of attribute transform.
16 17 18 |
# File 'shoes-swt/lib/shoes/swt/border.rb', line 16 def transform @transform end |
Instance Method Details
#corners ⇒ Object
27 28 29 |
# File 'shoes-swt/lib/shoes/swt/border.rb', line 27 def corners dsl.curve end |