lib/wx/shapes/shapes/round_ortho_shape.rb in wxruby3-shapes-0.9.0.pre.beta.3 vs lib/wx/shapes/shapes/round_ortho_shape.rb in wxruby3-shapes-0.9.5

- old
+ new

@@ -11,17 +11,15 @@ MAX_RADIUS = 7 property :max_radius - # @overload initialize() - # default constructor - # @overload initialize(src, trg, path, manager) - # @param [Wx::SF::Serializable::ID] src ID of the source shape - # @param [Wx::SF::Serializable::ID] trg ID of the target shape - # @param [Array<Wx::RealPoint>] path List of the line control points (can be empty) - # @param [Diagram] diagram containing diagram - def initialize(*args) + # Constructor + # @param [Shape] src source shape + # @param [Shape] trg target shape + # @param [Array<Wx::RealPoint>] path List of the line control points (can be empty) + # @param [Diagram] diagram containing diagram + def initialize(src = nil, trg = nil, path: nil, diagram: nil) super @max_radius = MAX_RADIUS end # Access (set/get) maximum radius.