Module style

Module style 

Source
Expand description

The style for shapes and text, font, color, etc.

Structs§

Black
The predefined black color
Blue
The predefined blue color
Cyan
The predefined cyan color
FontDesc
Describes a font
Green
The predefined green color
HSLColor
The color described by HSL color space
Magenta
The predefined magenta color
Palette99
The palette of 99% accessibility
Palette100
The palette of 100% accessibility
Palette9999
The palette of 99.99% accessibility
PaletteColor
A color in the given palette
RGBColor
The color described by it’s RGB value
Red
The predefined red color
ShapeStyle
Style for any of shape
TextStyle
Style of a text
Transparent
The predefined transparent
White
The predefined white color
Yellow
The predefined yellow color

Enums§

FontTransform
Specifying text transformations

Traits§

Color
Any color representation
IntoFont
Mixable
The trait for any color that can composite with other color
Palette
SimpleColor
Color without alpha channel

Type Aliases§

FontError
The error type for the font implementation
FontResult
The type we used to represent a result of any font operations
LayoutBox