Sha256: 1241e60d0dc7f8c747c47a567861fdee959e99103bc3d0ed3568732db9488957

Contents?: true

Size: 997 Bytes

Versions: 5

Compression:

Stored size: 997 Bytes

Contents

class Wx::RegionIterator

  # Creates a Wx::RegionIterator and passes that to the given block.
  # Removes the iterator after the block finishes.
  # @param [Wx::Region] region
  # @yieldparam [Wx::RegionIterator] region_it
  def self.for_region(region)  end

  # Creates a Wx::RegionIterator and iterates each rectangle in the region executing the given block
  # for each iteration passing the region iterator.
  # @param [Wx::Region] region
  # @yieldparam [Wx::RegionIterator] region_it
  def self.iterate(region) end

  alias :have_rects? :have_rects

  # Moves to the next rectangle of the iterated region.
  # @return [void]
  def next_rect; end

  # If a block is given the given block is called for each rectangle in the region passing the rectangle.
  # If no block is given an Enumerator is returned.
  # @overload each(&block)
  #   @yieldparam [Wx::Rect] rect
  #   @return [Object]
  # @overload each()
  #   @return [Enumerator]
  def each; 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/region_iterator.rb
wxruby3-0.9.0.pre.rc.2-x64-mingw-ucrt lib/wx/doc/region_iterator.rb
wxruby3-0.9.0.pre.rc.1-x64-mingw-ucrt lib/wx/doc/region_iterator.rb
wxruby3-0.9.0.pre.beta.14-x64-mingw-ucrt lib/wx/doc/region_iterator.rb
wxruby3-0.9.0.pre.beta.13-x64-mingw-ucrt lib/wx/doc/region_iterator.rb