Skip to content

BoundedSubpath

Overview

A single loop of a RenderPath, with computed bounds.

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class BoundedSubpath

import { BoundedSubpath } from 'scenerystack/alpenglow';

Constructor

new BoundedSubpath( path : RenderPath, subpath : Vector2[] )

Instance Methods

Instance Properties

bounds : Bounds2

(readonly)

Static Methods

fromPathSet( paths : Set<RenderPath> ) : BoundedSubpath[]

Source Code

See the source for BoundedSubpath.ts in the alpenglow repository.