[][src]Module orbtk::utils

Modules

prelude

Structs

Border

Describes a border of a shape with border brush, thickness and radius.

BorderBuilder

Used to build a border, specifying additional details.

Color

A r g b a color.

DirtySize

Size with width, height and dirty flag.

LinearGradientStop

Describes a position on a colorful gradient.

Point

A Point is specified by a x coordinate and an y coordinate.

Rectangle

A Rectangle is normally expressed as a top-left corner and a size

Size

A Size specified by width and height.

String16

A UTF-16 encoded, growable string.

Thickness

Used to describes a thickness e.g a border thickness.

Value

Wraps a ron value and is used to support conversion to different types.

Enums

Alignment

Used to align a widget vertical or horizontal.

Brush

A Brushdescribes how a shape is filled or stroked.

Filter

Used to filter stuff such as the on_changed callback.

Orientation

Is used to control the orientation of the Stack.

SelectionMode

Represents a selection mode.

TextAlignment

Used to align a text.

TextBaseline

Text baseline being used when drawing text

Visibility

Is used to control the visibility of a widget

Traits

Bordered

Contains a set of getters and setters to read and write to a border.