Registry / utility / lyon-path

lyon-path

JSON →
library1.0.19rscratesunverified

Types and utilities to store, build and iterate over 2D paths for vector graphics.

# Cargo.toml [dependencies] lyon_path = "1.0.19"
INSTALL
IMPORT
SIG · LYON-PATH
L
lyon-path
utilityrustv1.0.19
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Path
use lyon_path::Path;

Builds a simple 2D path with a line segment.

use lyon_path::Path; use lyon_path::builder::PathBuilder; fn main() { let mut builder = Path::builder(); builder.begin(lyon_path::math::point(0.0, 0.0)); builder.line_to(lyon_path::math::point(1.0, 0.0)); builder.end(false); let path = builder.build(); println!("Path built with {} points", path.points().len()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.19latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
lyon-path — cargo add lyon-path · libregistry