Sha256: 65d88ec65b7a685f1087d15e75e75102bbdb6d89e26161a23c6b1753f59b253c

Contents?: true

Size: 695 Bytes

Versions: 16

Compression:

Stored size: 695 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

16 entries across 16 versions & 1 rubygems

Version Path
wxruby3-1.3.1 lib/wx/doc/brush.rb
wxruby3-1.3.0 lib/wx/doc/brush.rb
wxruby3-1.2.1 lib/wx/doc/brush.rb
wxruby3-1.2.0 lib/wx/doc/brush.rb
wxruby3-1.1.2 lib/wx/doc/brush.rb
wxruby3-1.1.1 lib/wx/doc/brush.rb
wxruby3-1.1.0 lib/wx/doc/brush.rb
wxruby3-1.0.1 lib/wx/doc/brush.rb
wxruby3-0.9.8 lib/wx/doc/brush.rb
wxruby3-0.9.7 lib/wx/doc/brush.rb
wxruby3-0.9.5 lib/wx/doc/brush.rb
wxruby3-0.9.4 lib/wx/doc/brush.rb
wxruby3-0.9.3 lib/wx/doc/brush.rb
wxruby3-0.9.2 lib/wx/doc/brush.rb
wxruby3-0.9.1 lib/wx/doc/brush.rb
wxruby3-0.9.0 lib/wx/doc/brush.rb