Home
last modified time | relevance | path

Searched refs:new_from_color (Results 1 – 4 of 4) sorted by relevance

/StarryEngine/starry_toolkit/src/
H A Dmain.rs21 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 Dimage.rs35 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 Dasset_item_list.rs52 let bg = Image::new_from_color( in new()
H A Dasset_item_grid.rs60 Image::new_from_color(Self::ITEM_WIDTH, Self::ITEM_HEIGHT, Color::rgba(0, 0, 0, 0)); in new()