Module: Wx::SF::ControlShape::DEFAULT

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

Overview

Defaults

Constant Summary collapse

CONTROLOFFSET =
0
PROCESSEVENTS =
EVTPROCESSING::KEY2CANVAS | EVTPROCESSING::MOUSE2CANVAS

Class Method Summary collapse

Class Method Details

.ctrl_borderObject



130
# File 'lib/wx/shapes/shapes/control_shape.rb', line 130

def ctrl_border; @ctrl_border ||= Wx::TRANSPARENT_PEN.dup; end

.ctrl_fillObject



129
# File 'lib/wx/shapes/shapes/control_shape.rb', line 129

def ctrl_fill; @ctrl_fill ||= Wx::TRANSPARENT_BRUSH.dup; end

.mod_borderObject



128
# File 'lib/wx/shapes/shapes/control_shape.rb', line 128

def mod_border; @mod_border ||= Wx::Pen.new(Wx::BLUE, 1, Wx::PenStyle::PENSTYLE_SOLID); end

.mod_fillObject



127
# File 'lib/wx/shapes/shapes/control_shape.rb', line 127

def mod_fill; @mod_fill ||= Wx::Brush.new(Wx::BLUE, Wx::BrushStyle::BRUSHSTYLE_BDIAGONAL_HATCH); end