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

Method ring_color

src/accessibility.rs:237–240  ·  view source on GitHub ↗

Sets the color of the focus ring. Default is red `(255, 60, 40)`.

(&mut self, color: impl Into<Color>)

Source from the content-addressed store, hash-verified

235
236 /// Sets the color of the focus ring. Default is red `(255, 60, 40)`.
237 pub fn ring_color(&mut self, color: impl Into<Color>) -> &mut Self {
238 self.config.ring_color = Some(color.into());
239 self
240 }
241
242 /// Sets the width (thickness) of the focus ring in pixels. Default is `2`.
243 pub fn ring_width(&mut self, width: u16) -> &mut Self {

Callers 2

builder_ring_stylingFunction · 0.80
ring_color_accepts_intoFunction · 0.80

Calls

no outgoing calls

Tested by 2

builder_ring_stylingFunction · 0.64
ring_color_accepts_intoFunction · 0.64