Searched refs:new_from_color (Results 1 – 4 of 4) sorted by relevance
/StarryEngine/starry_toolkit/src/ |
H A D | main.rs | 21 let image1 = Image::new_from_color(32, 32, Color::rgb(128, 255, 255)); in main() 22 let image2 = Image::new_from_color(32, 32, Color::rgb(128, 255, 255)); in main() 23 let image3 = Image::new_from_color(32, 32, Color::rgb(128, 255, 255)); in main() 24 let image4 = Image::new_from_color(32, 32, Color::rgb(128, 255, 255)); in main() 25 let image5 = Image::new_from_color(32, 32, Color::rgb(128, 255, 255)); in main()
|
/StarryEngine/starry_toolkit/src/widgets/ |
H A D | image.rs | 35 pub fn new_from_color(width: u32, height: u32, color: Color) -> Arc<Self> { in new_from_color() method
|
/StarryEngine/starry_applications/src/asset_manager/code/ |
H A D | asset_item_list.rs | 52 let bg = Image::new_from_color( in new()
|
H A D | asset_item_grid.rs | 60 Image::new_from_color(Self::ITEM_WIDTH, Self::ITEM_HEIGHT, Color::rgba(0, 0, 0, 0)); in new()
|