Sha256: 283db94055b9b7f515cb277ce9b3f0627cd479234b4ff603b4a09f0d10f2564b
Contents?: true
Size: 1002 Bytes
Versions: 7
Compression:
Stored size: 1002 Bytes
Contents
# :stopdoc: # Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # :startdoc: 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
7 entries across 7 versions & 1 rubygems