Package snap.geom


package snap.geom
  • Class
    Description
    A Shape subclass to represent a segment of an ellipse with start and sweep angle.
     
    A Segment representing a Cubic curve.
    Class describes an ellipse that is defined by a framing rectangle.
    A class to represent a horizontal position (LEFT, CENTER, RIGHT).
    This class represents a margin inset.
    A class to represent a mathematical line.
    A standard path shape that can be built/modified by standard moveTo/lineTo/curveTo methods.
    Utility methods for Path2D.
    This extended Path2D provides extra features like ArcLength measurement.
    Bezier curve fitting code adapted from "An Algorithm for Automatically Fitting Digitized Curves", by Philip J.
    A class to iterate over segments in a shape, providing specific coordinate information.
    A class to represent a simple geometric point.
    This class represents an array of points assumed to form a polygon, quads or triangles.
     
    This class represents an array of indexes into a PointArray assumed to form a polygon, quads or triangles.
    A Shape subclass to represent a simple geometric polygon.
    This Shape subclass represents one or more polygons.
    A class to represent a position on both horizonal and vertical axis (e.g.
    A Segment representing a Quadratic curve.
    Represents a rectangle - a Quadrilateral with parallel sides.
    A Shape subclass to form the base class for generic rectangular shapes (Rect, Oval, Arc).
    A Shape subclass to represent a rounded rectangle.
     
    A class to represent hit information for Segment intersections.
    A Segment is a Shape subclass that represents a part of a path: line, quadratic, cubic.
    A Shape containing a list of Segment shapes (Line, Quad, Cubic) to facilitate complex shape operations like constructive area geometry (CAG) operations (add, subtract, intersect paths).
    This class provides SegmentPath utility methods to do Constructive Area Geometry (CAG) operations, like add, subtract, intersect shapes.
    A class to represent a generic geometric shape (Line, Rect, Ellipse, etc.).
    A Shape implementation to present another shape in a given rect.
    This shape subclass provides basic methods for constructing a shape.
    An enum to represent a side of rectanglular area: Left, right, top, bottom.
    A class to represent a simple geometric size.
    This is a shape that wraps around another shape and can provide parts.
    A class to represent a mathematical linear transforms.
    This class represents a vector.
    A class to represent a vertical position (TOP, CENTER, BOTTOM).