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

Class Rectangle

src/render_commands.rs:5–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3/// Represents a rectangle with a specified color and corner radii.
4#[derive(Debug, Clone)]
5pub struct Rectangle {
6 /// The fill color of the rectangle.
7 pub color: Color,
8 /// The corner radii for rounded edges.
9 pub corner_radii: CornerRadii,
10}
11
12/// Represents a text element with styling attributes.
13#[derive(Debug, Clone)]

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected