MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / Image

Class Image

src/render_commands.rs:72–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70/// Represents an image with defined dimensions and data.
71#[derive(Debug, Clone)]
72pub struct Image {
73 /// Background color
74 pub background_color: Color,
75 /// The corner radii for rounded border edges.
76 pub corner_radii: CornerRadii,
77 /// A reference to the image source data.
78 pub data: ImageSource,
79}
80
81/// Represents a custom element with a background color, corner radii, and associated data.
82#[derive(Debug, Clone)]

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected