Shadow casts a drop shadow from the view's visual box.
(c any, radius, offsetX, offsetY float32)
| 275 | |
| 276 | // Shadow casts a drop shadow from the view's visual box. |
| 277 | func (n *viewNode) Shadow(c any, radius, offsetX, offsetY float32) *viewNode { |
| 278 | n.modifier.shadow = &shadowModifier{color: c, radius: radius, offsetX: offsetX, offsetY: offsetY} |
| 279 | return n |
| 280 | } |
| 281 | |
| 282 | // Stroke adds a colored border (stroke) around the view's visual box. |
| 283 | // Named Stroke (not Border) because "Border" was the name of the old |
nothing calls this directly
no outgoing calls
no test coverage detected