Module: Wx::ArrayExt

Defined in:
lib/wx/doc/array_ext.rb

Overview

Mixin module providing Array extensions.

Instance Method Summary collapse

Instance Method Details

#to_pointWx::Point

Returns a new Wx::Point instance created from the first two elements of the array. Any missing element will be supplemented by a Wx::DEFAULT_COORD value. The array is not altered.

Returns:



23
# File 'lib/wx/doc/array_ext.rb', line 23

def to_point; end

#to_real_pointWx::RealPoint Also known as: to_real

Returns a new Wx::RealPoint instance created from the first two elements of the array. Any missing element will be supplemented by a Wx::DEFAULT_COORD value. The array is not altered.

Returns:



29
# File 'lib/wx/doc/array_ext.rb', line 29

def to_real_point; end

#to_sizeWx::Size

Returns a new Wx::Size instance created from the first two elements of the array. Any missing element will be supplemented by a Wx::DEFAULT_COORD value. The array is not altered.

Returns:



17
# File 'lib/wx/doc/array_ext.rb', line 17

def to_size; end