Sha256: 3d856977525f9e663e1a90b2d02ea9f1f4da47170c38ef0ba8820c5da649c30b

Contents?: true

Size: 838 Bytes

Versions: 5

Compression:

Stored size: 838 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 lib/wx/doc/array_ext.rb
wxruby3-0.9.0.pre.rc.2 lib/wx/doc/array_ext.rb
wxruby3-0.9.0.pre.rc.1 lib/wx/doc/array_ext.rb
wxruby3-0.9.0.pre.beta.14 lib/wx/doc/array_ext.rb
wxruby3-0.9.0.pre.beta.13 lib/wx/doc/array_ext.rb