any_borders library

Classes

AnyBackground
Fill painted behind the side regions of an AnyDecoration.
AnyBorder
Base class for borders built for AnyDecoration.
AnyBoxBorder
Rectangular border with independent side and corner overrides.
AnyBoxDecoration
Rectangular AnyDecoration with independent side and corner overrides.
AnyContour
Resolved geometry for one border layer. Local corner segments are retained for inspection; pathFor returns the final, topology-correct filled area. An empty point list represents an exhausted outline and produces empty paths.
AnyCorner
Immutable corner settings. Geometry is available through geometry and AnyResolvedCorner, never by interpreting these settings as path extents.
AnyCornerCurve
AnyCornerFrame
A vertex frame independent of traversal direction. Normals face material.
AnyCornerGeometry
Stateless geometry policy selected by an AnyCorner. Providers own local construction; the engine owns allocation and topology.
AnyCornerSegment
A canonical cubic (or exact line) with its interval in corner parameter space. Subdivision preserves the original polynomial, including reversed traversal.
AnyCornerTraits
Local guarantees for one resolved curve. Global contour checks still apply. See README.md, Custom corners. Arbitrary geometry defaults to none, including geometry returned by a custom provider.
AnyCornerTransition
Prepared local interpolation selected by a geometry provider. Implementations must preserve endpoint geometry and return valid curves in the current frame.
AnyDecoration
Base class for decorations built from arbitrary contour points.
AnyDecorationCache
Small shared cache for contours.
AnyDecorationTween
AnyFill
Shared fill contract for decorations, sides, backgrounds, and shadows.
AnyPoint
One source point in an AnyDecoration contour.
AnyRegions
AnyResolvedCorner
Immutable, inspectable corner geometry. source is the normalized source setting. parameters exists only when one descriptor represents this curve. Extents measure actual distances from the boundary's shifted vertex.
AnyShadow
AnySide
Fill and geometry for one contour side.
BevelCorner
A straight cut with endpoints p/n units along the previous/next edge rays.
BevelCornerGeometry
Geometry implementation for BevelCorner.
InverseRoundedCorner
A scoop centered at the vertex; p/n are its radii along the incident rays. Automatic boundaries offset the source curve along its material normal, retaining the shape vertex as their reference center. Equal side distances give concentric circular arcs: outside shrinks the radius; inside grows it. Elliptical offsets need not be ellipses. Side contacts are trimmed or joined by straight tangent extensions, without auxiliary rounded joins. Explicit inner/outer descriptors instead resolve at their own side vertex.
InverseRoundedCornerGeometry
Geometry implementation for InverseRoundedCorner.
RoundedCorner
A circular fillet when p == n, including at non-right-angle vertices. Elliptical settings scale the two rays of the unit circular fillet.
RoundedCornerGeometry
Geometry implementation for RoundedCorner.

Mixins

MAnyFill
Default implementation for AnyFill.