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

Class Method Details

.fontObject

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_borderObject

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_colorObject

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_fillObject

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