Sevgi Geometry

Sevgi Geometry provides the small set of geometric values and operations used by Sevgi drawings.

Install

gem install sevgi-geometry

Require

require "sevgi/geometry"

Example

rect = Sevgi::Geometry::Rect[3, 5]
rect.box.width

Ruby compatibility

Requires Ruby 3.4.0 or newer. CI verifies the current Ruby 3.4 release and the development Ruby from .ruby-version.

Native prerequisites

This gem needs only Ruby and its Ruby dependencies.