Crate bevy_mod_stylebuilder

Source

Structs§

InheritableFontStyles
Struct that holds the properties for text rendering, which can be inherited. This allows setting for font face, size and color to be established at a parent level and inherited by child text elements.
StyleBuilder
An object that provides a fluent interface for defining styles for bevy_ui nodes. Most components such as BackgroundColor are mutated immediately, however some component types such as Style are cached in the builder and not applied until finish is called.
StyleBuilderPlugin
StyleBuilderSystemSet
A system set that includes any systems that run dynamic style computations. These will generally run after the UI nodes have been updated.
StyleHandle
Wrapper type that allows StyleTuples to be passed from parent to child views.
UseInheritedTextStyles
A marker component that is used to indicate that the text entity wants to opt-in to using inherited text styles.

Enums§

HandleOrOwnedPath
Enum that represents either a handle or an owned path.
MaybeHandleOrPath
Enum that represents either a handle or an asset path or nothing.

Traits§

BorderRadiusParam
Trait that represents border radius
ColorParam
Trait that represents a CSS color
LengthParam
Trait that represents a CSS “length”
OptFloatParam
Trait that represents an optional float
StyleBuilderBackground
StyleBuilderBorderColor
StyleBuilderBorderRadius
StyleBuilderFont
StyleBuilderLayout
StyleBuilderOutline
StyleBuilderPointerEvents
StyleBuilderVisibility
StyleBuilderZIndex
StyleTuple
StyleTuple - a variable-length tuple of StyleHandles.
UiRectParam
Trait that represents CSS edge widths (margin, padding, etc.)
ZIndexParam
Trait that represents a CSS Z-index