Module foundation

Module foundation 

Source
Expand description

The foundation for UX-Framework of AngularRust

Re-exports§

pub use Size2D as Size;
pub use Vector2D as Point;
pub use Vector2D as Point2D;
pub use Vector3D as Point3D;

Modules§

colorschemes
Color scheme is basically a set of colors, constructed according to color theory.
colorspace
Color spaces with conversion from/to any color space

Structs§

Box2D
A 2d axis aligned rectangle represented by its minimum and maximum coordinates.
ColorStop
Define the an offset and a color, to a given canvas gradient.
Gradient
Represents an opaque object describing a gradient.
ImageData
Represens image data with parameters
LinearGradient
Represents radial gradient specified by four parameters
RadialGradient
Represents radial gradient specified by six parameters
Rect
A 2d Rectangle optionally tagged with a unit.
Size2D
A 2d size tagged with a unit.
Vector2D
A 2d Vector tagged with a unit.
Vector3D
A 3d Vector tagged with a unit.

Enums§

BaseLine
Indicates the current baseline when drawing text.
FontStyle
Whether to slant the glyphs in the font.
FontWeight
The font-weight property sets how thick or thin characters in text should be displayed
GradientType
Define the gradient type with parameters
PixelFormat
Describes pixel format properties

Functions§

rect
Shorthand for Rect::new(Point::new(x, y), Size::new(w, h)).
size2
Shorthand for Size2D::new(w, h).