Crate ambient_rect

source ·

Structs

Functions

  • Background color: Background color of an entity with a rect component.
  • Border color: Border color of an entity with a rect component.
  • Border radius: Radius for each corner of an entity with a rect component.
  • Border thickness: Border thickness of an entity with a rect component.
  • Line from: Start point of a line.
  • Line to: End point of a line.
  • Line width: Width of line.
  • Rect: If attached to an entity, the entity will be converted to a UI rectangle, with optionally rounded corners and borders.