openrndr
0.4.5-dev.4.uncommitted+98ebace
common
openrndr-draw
/
org.openrndr.draw
/
PointBatchBuilder
Point
Batch
Builder
class
PointBatchBuilder
(
val
drawer
:
Drawer
)
:
BatchBuilder
(
source
)
Members
Constructors
Point
Batch
Builder
Link copied to clipboard
constructor
(
drawer
:
Drawer
)
Types
Entry
Link copied to clipboard
class
Entry
(
val
fill
:
ColorRGBa
?
,
val
offset
:
Vector3
)
Functions
batch
Link copied to clipboard
fun
batch
(
existingBatch
:
PointBatch
?
=
null
)
:
PointBatch
Generate the stored batch
point
Link copied to clipboard
fun
point
(
position
:
Vector2
)
fun
point
(
position
:
Vector3
)
fun
point
(
x
:
Double
,
y
:
Double
)
fun
point
(
x
:
Double
,
y
:
Double
,
z
:
Double
)
points
Link copied to clipboard
@
JvmName
(
name
=
"points2D"
)
fun
points
(
positions
:
List
<
Vector2
>
)
@
JvmName
(
name
=
"points3D"
)
fun
points
(
positions
:
List
<
Vector3
>
)
Properties
drawer
Link copied to clipboard
val
drawer
:
Drawer
entries
Link copied to clipboard
val
entries
:
MutableList
<
PointBatchBuilder.Entry
>
fill
Link copied to clipboard
var
fill
:
ColorRGBa
?
Active fill color
stroke
Link copied to clipboard
var
stroke
:
ColorRGBa
?
Active stroke color
stroke
Weight
Link copied to clipboard
var
strokeWeight
:
Double
Active stroke weight