Methods

Class Index [+]

Quicksearch

Magick::RVG::Line

Public Class Methods

new(x1=0, y1=0, x2=0, y2=0) click to toggle source

Define a line from [x1, y1] to [x2, y2]. Use the RVG::ShapeConstructors#line method to create Line objects in a container.

    # File lib/rvg/embellishable.rb, line 65
65:             def initialize(x1=0, y1=0, x2=0, y2=0)
66:                 super()
67:                 @primitive = :line
68:                 @args = [x1, y1, x2, y2]
69:             end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.