PointBatchBuilder

class PointBatchBuilder(drawer: Drawer) : BatchBuilder

Types

Entry
Link copied to clipboard
common
class Entry(fill: ColorRGBa?, offset: Vector3)

Functions

batch
Link copied to clipboard
common
fun batch(existingBatch: PointBatch? = null): PointBatch

Generate the stored batch

point
Link copied to clipboard
common
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
common
@JvmName(name = "points2D")
fun points(positions: List<Vector2>)
@JvmName(name = "points3D")
fun points(positions: List<Vector3>)

Properties

drawer
Link copied to clipboard
common
val drawer: Drawer
entries
Link copied to clipboard
common
val entries: MutableList<PointBatchBuilder.Entry>
fill
Link copied to clipboard
common
var fill: ColorRGBa?

Active fill color

stroke
Link copied to clipboard
common
var stroke: ColorRGBa?

Active stroke color

strokeWeight
Link copied to clipboard
common
var strokeWeight: Double

Active stroke weight