logo

Module primitives::foundation[][src]

Expand description

The foundation for UX-Framework of AngularRust

Modules

Color scheme is basically a set of colors, constructed according to color theory.

Color spaces with conversion from/to any color space

Structs

A 2d axis aligned rectangle represented by its minimum and maximum coordinates.

Define the an offset and a color, to a given canvas gradient.

Represents an opaque object describing a gradient.

Represens image data with parameters

Represent radial gradient specified by four parameters

A 2d Vector tagged with a unit.

A 2d Vector tagged with a unit.

A 3d Vector tagged with a unit.

Represent radial gradient specified by six parameters

A 2d Rectangle optionally tagged with a unit.

A 2d size tagged with a unit.

A 2d size tagged with a unit.

A 2d Vector tagged with a unit.

A 3d Vector tagged with a unit.

Enums

Indicates the current baseline when drawing text.

Whether to slant the glyphs in the font.

The font-weight property sets how thick or thin characters in text should be displayed

Define the gradient type with parameters

Describes pixel format properties

The horizontal alignment and layout of multiple lines of text.

Functions

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

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