quad()

Quadrilateral - Draws a Quadrilateral with the given inputs

Example

quad(250,100,100,100,50,200,350,350)

Syntax

quad(x1, y1, x2, y2, x3, y3, x4, y4)

Description

Creates a quadrilateral with corners (vertices) at the given co-ordinates. Co-ordinates must be specified in clockwise or counter-clockwise direction, otherwise the resulting shape might not contain only one area.

Find these documents helpful? Let the people who made them help your child learn to code at Strivemath!

We'd love to hear your Feedback/Comments here.

Last updated