Sha256: 6446d61aa37f6572a788cb536aae244544ae6e45b45ce4f34d06e53cbb3e01a3

Contents?: true

Size: 865 Bytes

Versions: 5

Compression:

Stored size: 865 Bytes

Contents

module Wx

  # Mixin module providing Array extensions.
  module ArrayExt

    # 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.
    # @return [Wx::Size]
    def to_size; end

    # 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.
    # @return [Wx::Point]
    def to_point; end

    # 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.
    # @return [Wx::RealPoint]
    def to_real_point; end

  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3-x64-mingw-ucrt lib/wx/doc/array_ext.rb
wxruby3-0.9.0.pre.rc.2-x64-mingw-ucrt lib/wx/doc/array_ext.rb
wxruby3-0.9.0.pre.rc.1-x64-mingw-ucrt lib/wx/doc/array_ext.rb
wxruby3-0.9.0.pre.beta.14-x64-mingw-ucrt lib/wx/doc/array_ext.rb
wxruby3-0.9.0.pre.beta.13-x64-mingw-ucrt lib/wx/doc/array_ext.rb