loading

Display Triangle

The Display Triangle module provides a way to draw a triangle based on three coordinates. The triangle points can be specified as static numbers or accessed from variables in two different formats. Note that the triangle is drawn into the current image and will affect subsequent processing.

Interface

Instructions

1. Color - Select the appropriate triangle color

2. Fill - Select if the triangle should be filled or empty

3. Display as Annotation - Select if you want the graphic to be draw after all processing has been completed. If this is NOT selected then the next module in the processing pipeline will see the graphic as if it were part of the image and process it accordingly.

4. Data Source - Select where the triangle coordinates should be taken from.

Static - specify the integer coordinates for the triangle
Variable - specify the 6 variables that contain the vertices the triangle
List - specify the variable that contains a list of coordinates that specify triangles. The format of the variable should be x1,y1,x2,y2,x3,y3 for each triangle to be drawn.

5. Clear current image - Select to clear the current image and draw the graphics on a black image.

Example

Display Triangle

See Also


Display Rectangle

&subcategory=Display_Triangle">New Post 

?>
Display_Triangle Related Forum PostsLast postPostsViews
None