PINE LIBRARY

CommonTypesDrawing

1 044
Library "CommonTypesDrawing"
Provides a common library source for common types of used graphical drawing structures.
Includes: `Triangle, Quad, Polygon`

Triangle
  Representation of a triangle using lines and linefill.
  Fields:
    ab: Edge of point a to b.
    bc: Edge of point b to c.
    ca: Edge of point c to a.
    fill: Fill of the object.
    solid: Check if polygon should have a fill.

Quad
  Representation of a quadrilateral using lines and linefill.
  Fields:
    ab: Edge of point a to b.
    bc: Edge of point b to c.
    cd: Edge of point c to d.
    da: Edge of point d to a.
    fill: Fill of the object.
    solid: Check if polygon should have a fill.

Polygon
  Representation of a polygon using lines and linefill.
  Fields:
    edges: List of edges in the polygon.
    fills: Fills of the object.
    closed: Check if polygon line should connect last vertice to first.
    solid: Check if polygon should have a fill.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.