Module: Wx::SF::RectShape::DEFAULT

Defined in:
lib/wx/shapes/shapes/rect_shape.rb

Overview

default values

Constant Summary collapse

SIZE =

Default value of RectShape @rect_size data member.

Wx::RealPoint.new(100, 50)

Class Method Summary collapse

Class Method Details

.borderObject

Default value of RectShape @border data member.



14
# File 'lib/wx/shapes/shapes/rect_shape.rb', line 14

def border; @border ||= Wx::BLACK_PEN.dup; end

.fillObject

Default value of RectShape fill data member.



12
# File 'lib/wx/shapes/shapes/rect_shape.rb', line 12

def fill; fill ||= Wx::WHITE_BRUSH.dup; end