Sha256: 984f33ee886ad330e9caabd71f7a718dbb3186c0c7c4d1f25bb5928f33844d79
Contents?: true
Size: 969 Bytes
Versions: 15
Compression:
Stored size: 969 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
15 entries across 15 versions & 1 rubygems