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

Method corner_radius

src/lib.rs:107–110  ·  view source on GitHub ↗
(mut self, radius: impl Into<layout::CornerRadius>)

Source from the content-addressed store, hash-verified

105 /// Accepts `f32` (all corners) or `(f32, f32, f32, f32)` in CSS order (top-left, top-right, bottom-right, bottom-left).
106 #[inline]
107 pub fn corner_radius(mut self, radius: impl Into<layout::CornerRadius>) -> Self {
108 self.inner.corner_radius = radius.into();
109 self
110 }
111
112 /// Sets the element's ID.
113 ///

Callers 5

test_beginFunction · 0.45
test_exampleFunction · 0.45
test_floatingFunction · 0.45

Calls

no outgoing calls

Tested by 5

test_beginFunction · 0.36
test_exampleFunction · 0.36
test_floatingFunction · 0.36