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
Slug
Shape
Drawer
class
SlugShapeDrawer
(
source
)
Members
Constructors
Slug
Shape
Drawer
Link copied to clipboard
constructor
(
)
Properties
commands
Link copied to clipboard
val
commands
:
MutableList
<
SlugCommand
>
shapes
Link copied to clipboard
val
shapes
:
MutableMap
<
Int
,
Int
>
slug
Drawer
Link copied to clipboard
val
slugDrawer
:
SlugDrawer
slug
Map
Link copied to clipboard
val
slugMap
:
SlugMap
Functions
add
Shape
Link copied to clipboard
fun
addShape
(
slugIndex
:
Int
,
transform
:
Matrix44
=
Matrix44.IDENTITY
,
fill
:
ColorRGBa
,
stroke
:
ColorRGBa
=
ColorRGBa.TRANSPARENT
,
strokeWeight
:
Double
=
0.0
)
fun
addShape
(
shape
:
Shape
,
transform
:
Matrix44
=
Matrix44.IDENTITY
,
fill
:
ColorRGBa
,
stroke
:
ColorRGBa
=
ColorRGBa.TRANSPARENT
,
strokeWeight
:
Double
=
0.0
)
clear
Link copied to clipboard
fun
clear
(
)
draw
Link copied to clipboard
fun
draw
(
drawer
:
Drawer
)