Function rin_graphics::path::triangle[][src]

pub fn triangle<Point>(p0: Point, p1: Point, p2: Point) -> Path2D<Point> where
    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 triangle