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

Class Border

src/render_commands.rs:59–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57/// Represents a border with a specified color, width, and corner radii.
58#[derive(Debug, Clone)]
59pub struct Border {
60 /// The border color.
61 pub color: Color,
62 /// The corner radii for rounded border edges.
63 pub corner_radii: CornerRadii,
64 /// The width of the border on each side.
65 pub width: BorderWidth,
66 /// The position of the border relative to the bounding box.
67 pub position: BorderPosition,
68}
69
70/// Represents an image with defined dimensions and data.
71#[derive(Debug, Clone)]

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected