Type Alias RoundTriangle

Source
pub type RoundTriangle = RoundShape<Triangle>;
Expand description

A triangle dilated by a sphere (so it has round corners).

Aliased Type§

#[repr(C)]
pub struct RoundTriangle { pub inner_shape: Triangle, pub border_radius: f32, }

Fields§

§inner_shape: Triangle

The shape being rounded.

§border_radius: f32

The radius of the rounded border.