Add BorderRadius field to ImageBundle (#14457)

# Objective

- Fixes #14453

## Solution

- Added BorderRadius to ImageBundle

## Testing

- Did you test these changes? If so, how?

- Tested on a random picture I found in the examples and it added a
border radius.

- Are there any parts that need more testing?

- I don't fink so.

- How can other people (reviewers) test your changes? Is there anything
specific they need to know?

- Apply a border radius to a random picture.
This commit is contained in:
Blake Bedford 2024-07-24 11:41:26 -07:00 committed by GitHub
parent e9e29d61c6
commit eabb58aa04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -83,6 +83,8 @@ pub struct ImageBundle {
pub image: UiImage,
/// The color of the background that will fill the containing node.
pub background_color: BackgroundColor,
/// The border radius of the node
pub border_radius: BorderRadius,
/// The size of the image in pixels
///
/// This component is set automatically