Function rin_graphics::path::regular_poly [−][src]
pub fn regular_poly<Point>(
center: Point,
r: <Point as NumPnt>::Field,
sides: u32
) -> Path2D<Point> where
u32: SubsetOf<<Point as NumPnt>::Field>,
Point: FloatPnt + Copy,
<Point as NumPnt>::Field: RealField + Float + NumCast + Neg,
<Point as NumPnt>::Coordinates: Neg<Output = <Point as NumPnt>::Coordinates>,
Returns a path containing a regular polygon