This commit is contained in:
griffi-gh 2024-03-24 19:08:24 +01:00
parent 290157e8d9
commit 0428af0f63

View file

@ -59,7 +59,9 @@ impl FrameRect {
}
}
/// Create a new [`FrameRect`] with the given image
/// Create a new [`FrameRect`] with the given image\
///
/// Color will be set to [`WHITE`](crate::color::WHITE) to ensure the image is visible
pub fn image(image: ImageHandle) -> Self {
Self {
color: color::WHITE.into(),