Skip to content
Vadim Grigoruk edited this page Apr 30, 2021 · 6 revisions

trib

trib x1 y1 x2 y2 x3 y3 color

Parameters

  • x1 : the x coordinate of the first triangle corner
  • y1 : the y coordinate of the first triangle corner
  • x2 : the x coordinate of the second triangle corner
  • y2 : the y coordinate of the second triangle corner
  • x3 : the x coordinate of the third triangle corner
  • y3 : the y coordinate of the third triangle corner
  • color: the index of the desired color in the current palette

Description

This function draws a triangle border with color, using the supplied vertices.

Clone this wiki locally