Module: Wx::SF::TextShape::DEFAULT
- Defined in:
- lib/wx/shapes/shapes/text_shape.rb
Overview
default values
Constant Summary collapse
- TEXT =
'Text'
Class Method Summary collapse
-
.font ⇒ Object
Default value of TextShape @font data member.
-
.text_border ⇒ Object
Standard value of TextShape @border data member.
-
.text_color ⇒ Object
Default value of TextShape @text_color data member.
-
.text_fill ⇒ Object
Standard value of TextShape @fill data member.
Class Method Details
.font ⇒ Object
Default value of TextShape @font data member.
14 |
# File 'lib/wx/shapes/shapes/text_shape.rb', line 14 def font; begin; @font = Wx::SWISS_FONT.dup; @font.point_size = 12; end unless @font; @font; end |
.text_border ⇒ Object
Standard value of TextShape @border data member
20 |
# File 'lib/wx/shapes/shapes/text_shape.rb', line 20 def text_border; @text_border ||= Wx::TRANSPARENT_PEN.dup; end |
.text_color ⇒ Object
Default value of TextShape @text_color data member.
16 |
# File 'lib/wx/shapes/shapes/text_shape.rb', line 16 def text_color; @txtclr ||= Wx::BLACK.dup; end |
.text_fill ⇒ Object
Standard value of TextShape @fill data member
18 |
# File 'lib/wx/shapes/shapes/text_shape.rb', line 18 def text_fill; @text_fill ||= Wx::TRANSPARENT_BRUSH.dup; end |