openrndr
Toggle table of contents
0.5.1-dev.32+3e45253
common
Target filter
common
Switch theme
Search in API
Skip to content
openrndr
openrndr-draw
/
org.openrndr.draw.slug
/
SlugShapeDrawer
/
addShape
add
Shape
fun
addShape
(
shape
:
Shape
,
transform
:
Matrix44
=
Matrix44.IDENTITY
,
fill
:
ColorRGBa
,
stroke
:
ColorRGBa
=
ColorRGBa.TRANSPARENT
,
strokeWeight
:
Double
=
0.0
)
(
source
)
fun
addShape
(
slugIndex
:
Int
,
transform
:
Matrix44
=
Matrix44.IDENTITY
,
fill
:
ColorRGBa
,
stroke
:
ColorRGBa
=
ColorRGBa.TRANSPARENT
,
strokeWeight
:
Double
=
0.0
)
(
source
)