Sha256: 5c052430957deaab9a336ec80f19eaa875ea2290a9ea38b114485921d2532706

Contents?: true

Size: 661 Bytes

Versions: 8

Compression:

Stored size: 661 Bytes

Contents

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


module Wx

  class Pen

    # Finds a pen with the specified attributes in the global list and returns it, else creates a new pen, adds it to the global pen list, and returns it.
    # @param [Wx::Colour, String, Symbol] colour Colour of the pen.
    # @param [Integer] width Width of the pen.
    # @param [Wx::PenStyle] style Pen style. See {Wx::PenStyle} for a list of styles.
    # @return [Wx::Pen]
    def self.find_or_create_pen(colour, width=1, style=Wx::PenStyle::PENSTYLE_SOLID) end

  end

  ThePenList = Wx::Pen

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wxruby3-0.9.8 lib/wx/doc/pen.rb
wxruby3-0.9.7 lib/wx/doc/pen.rb
wxruby3-0.9.5 lib/wx/doc/pen.rb
wxruby3-0.9.4 lib/wx/doc/pen.rb
wxruby3-0.9.3 lib/wx/doc/pen.rb
wxruby3-0.9.2 lib/wx/doc/pen.rb
wxruby3-0.9.1 lib/wx/doc/pen.rb
wxruby3-0.9.0 lib/wx/doc/pen.rb