openrndr
Toggle table of contents
0.4.5-dev.22+a060d51
common
Platform filter
common
Switch theme
Search in API
openrndr
openrndr-shape
/
org.openrndr.shape
/
Triangle
/
Companion
Companion
object
Companion
(
source
)
Members
Functions
from
Centroid
Link copied to clipboard
fun
fromCentroid
(
centroid
:
Vector2
,
radius
:
Double
,
theta
:
Double
=
60.0
,
rotation
:
Double
=
0.0
)
:
Triangle
Creates a triangle from a
centroid
based on the circumradius
radius