Sha256: 6845a002de7a2818db590afb15d7fe584aebf7e54d09bdcfa00ffd6e6317e66e

Contents?: true

Size: 718 Bytes

Versions: 7

Compression:

Stored size: 718 Bytes

Contents

# :stopdoc:
# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.
# :startdoc:


module Wx

  class Brush

    # Finds a brush with the specified attributes in the global list and returns it, else creates a new brush, adds it to the global brush list, and returns it.
    # @param [Wx::Colour,String,Symbol] colour The Brush colour.
    # @param [Wx::BrushStyle] style The brush style. See {Wx::BrushStyle} for a list of the styles.
    # @return [Wx::Brush]
    def self.find_or_create_brush(colour, style=Wx::BrushStyle::BRUSHSTYLE_SOLID) end

  end

  # In wxRuby this is simply an alias for the Brush class.
  TheBrushList = Wx::Brush

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wxruby3-0.9.7-x64-mingw-ucrt lib/wx/doc/brush.rb
wxruby3-0.9.5-x64-mingw-ucrt lib/wx/doc/brush.rb
wxruby3-0.9.4-x64-mingw-ucrt lib/wx/doc/brush.rb
wxruby3-0.9.3-x64-mingw-ucrt lib/wx/doc/brush.rb
wxruby3-0.9.2-x64-mingw-ucrt lib/wx/doc/brush.rb
wxruby3-0.9.1-x64-mingw-ucrt lib/wx/doc/brush.rb
wxruby3-0.9.0-x64-mingw-ucrt lib/wx/doc/brush.rb