Sevgi Geometry
Small geometry primitives and operations for 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 Ruby 3.4 and the current development Ruby from .ruby-version.
Native prerequisites
None beyond Ruby and this gem's Ruby dependencies.
Links
- Documentation: https://sevgi.roktas.dev
- API documentation: https://www.rubydoc.info/gems/sevgi-geometry
- Source: https://github.com/roktas/sevgi/tree/main/geometry
- Changelog: https://github.com/roktas/sevgi/blob/main/CHANGELOG.md