openrndr / org.openrndr.draw / PointBatchBuilder

PointBatchBuilder

class PointBatchBuilder : BatchBuilder (source)

Types

Entry

class Entry

Constructors

<init>

PointBatchBuilder(drawer: Drawer)

Properties

entries

val entries: MutableList<Entry>

Functions

batch

Generate the stored batch

fun batch(existingBatch: PointBatch? = null): PointBatch

point

fun point(x: Double, y: Double): Unit
fun point(x: Double, y: Double, z: Double): Unit
fun point(position: Vector2): Unit
fun point(position: Vector3): Unit

points

fun points(positions: List<Vector3>): Unit
fun points(positions: List<Vector2>): Unit