openrndr / org.openrndr.shape / Triangle

Triangle

data class Triangle (source)

Constructors

<init>

Triangle(x1: Vector2, x2: Vector2, x3: Vector2)

Properties

contour

val contour: ShapeContour

x1

val x1: Vector2

x2

val x2: Vector2

x3

val x3: Vector2

Functions

contains

operator fun contains(v: Vector2): Boolean