Skip to main content

custom_shape

Function custom_shape 

Source
pub fn custom_shape(shape: &CustomShape) -> ViewHandle
Expand description

A shape written in Rust, as a view.

Filled with the foreground style, which is what a bare Shape in a view builder means — Circle() on its own draws a filled circle.