Expand description
Handles helper utilities and global methods.
Modules§
Structs§
- Angle
- The OrbTk way to handle angles
- Border
- Describes a border of a shape with border
brush
,thickness
andradius
. - Border
Builder - Used to build a border, specifying additional details.
- Color
- A r g b a color.
- Constraint
Constraint
describes the constraints properties of abox
entity.- Constraint
Builder - Used to capture constraint properties.
- Dirty
Size - Size with width, height and dirty flag. If the dirty flag is
true
, layout tasks will handle this objects in its arrange and measure tasks. - Gradient
- Describes a colorful gradient.
- Gradient
Stop - Describes a position on a colorful gradient.
- OnLine
Pos - Describes a position on a line
- OnPlane
Pos - Describes a position on a plane
- 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
Brush
defines the fill pattern of shapes. The syntax allows to express fill patterns in several ways: - Expression
- This object represents an
expression
used to define something. E.g. brushes are defined using an expression in there themes definition. - Filter
- Used to filter stuff such as the
on_changed
callback. - Gradient
Kind - Describes the kind of a gradient.
- Linear
Gradient Coords - Describes the coordinates of a colorful linear gradient.
- Number
- Valid number types (64bit)
- OnLine
PosKind - This only is used to communicate the kind of
OnLinePos
we are using - Orientation
- Is used to control the orientation of the
Stack
. - Relative
Dir - Describes the relative position of the object.
- Selection
Mode - Represents a selection mode.
- Text
Alignment - Used to align a text.
- Text
Baseline - 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.