ModraUp Ruby API Documentation Ruby API Reference

Class: Layout::Ellipse

Inherits:
Layout::Path show all

Overview

Ellipse (closed path).

Examples:

Layout::Ellipse.new(Geom::Bounds2d.new(1, 1, 2, 1))

Class Method Summary # collapse

Instance Method Summary # collapse

Inherited from Layout::Path

Inherited from Layout::Entity

Class Method Details

Layout::Ellipse.new(bounds) ⇒ Layout::Ellipse

An ellipse inscribed in a bounding box; a square bounding box results in a circle.

Parameters:

  • bounds (Geom::Bounds2d) inch on the drawing sheet

Returns:

  • (Layout::Ellipse)
Note: ModraUp extension. Ellipses do not support offset copying, consistent with the interface.

Examples:

Layout::Ellipse.new(Geom::Bounds2d.new(1, 1, 1, 1))