[][src]Module lyon_path::math

Basic types that are used everywhere. Most other lyon crates reexport them.

Traits

Transform

Anything that can be transformed in 2D.

Functions

point
rect

Shorthand for TypedRect::new(TypedPoint2D::new(x, y), TypedSize2D::new(w, h)).

size

Shorthand for TypedSize2D::new(w, h).

vector

Convenience constructor.

Type Definitions

Angle

An angle in radians (f32).

F64Point

Alias for euclid::Point2D<f64>.

Point

Alias for euclid::Point2D<f32>.

Rect

Alias for euclid::Rect<f32>

Rotation2D

Alias for euclid::Rotation2D<f32>

Size

Alias for euclid::Size2D<f32>.

Transform2D

Alias for euclid::Transform2D<f32>

Vector

Alias for euclid::Point2D<f32>.