commonMain.bounds.Bounds.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of orx-shapes-jvm Show documentation
Show all versions of orx-shapes-jvm Show documentation
project ':orx-shapes'.name
package org.openrndr.extra.shapes.bounds
import org.openrndr.shape.*
import kotlin.jvm.JvmName
/**
* Evaluates the bounds around all [ShapeContour] instances in the [Iterable]
*/
val Iterable.bounds : Rectangle
@JvmName("shapeContourBounds")
get() = map {
it.bounds
}.bounds
/**
* Evaluates the bounds around all [Shape] instances in the [Iterable]
*/
val Iterable.bounds : Rectangle
@JvmName("shapeBounds")
get() = map {
it.bounds
}.bounds
/**
* Evaluates the bounds around all [Segment] instances in the [Iterable]
*/
val Iterable.bounds : Rectangle
@JvmName("segmentBounds")
get() = map {
it.bounds
}.bounds
© 2015 - 2025 Weber Informatics LLC | Privacy Policy