Function rin::graphics::path::star [−][src]
pub fn star<Point>(
center: Point,
r: <Point as NumPnt>::Field,
ri: <Point as NumPnt>::Field,
points: u32
) -> Path2D<Point> where
Point: FloatPnt + Copy,
u32: SubsetOf<<Point as NumPnt>::Field>,
<Point as NumPnt>::Field: RealField,
<Point as NumPnt>::Field: Float,
<Point as NumPnt>::Field: NumCast,
<Point as NumPnt>::Field: Neg,
<Point as NumPnt>::Coordinates: Neg,
<<Point as NumPnt>::Coordinates as Neg>::Output == <Point as NumPnt>::Coordinates,
Returns a path containing a star