MBoundsBuilder

Deprecated

Use immutable BoundsBuilder instead

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

True if some points were added to the MBoundsBuilder, and thus xmin, xmax, ymin, ymax have valid values

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Maximum value found for X. -Infinity if !hasPoints

Link copied to clipboard

Maximum value found for X. null if !hasPoints

Link copied to clipboard

Minimum value found for X. Infinity if !hasPoints

Link copied to clipboard

Minimum value found for X. null if !hasPoints

Link copied to clipboard

Maximum value found for Y. -Infinity if !hasPoints

Link copied to clipboard

Maximum value found for Y. null if !hasPoints

Link copied to clipboard

Minimum value found for Y. Infinity if !hasPoints

Link copied to clipboard

Minimum value found for Y. null if !hasPoints

Functions

Link copied to clipboard
inline fun add(rect: MRectangle?): MBoundsBuilder
fun add(point: Point): MBoundsBuilder
fun add(point: MPoint, transform: MMatrix): MBoundsBuilder
fun add(rect: MRectangle, transform: MMatrix?): MBoundsBuilder
fun add(ps: PointList, transform: MMatrix): MBoundsBuilder
fun add(p: Point, transform: MMatrix?): MBoundsBuilder
fun add(x: Int, y: Int): MBoundsBuilder
fun add(ps: Iterable<MPoint>, transform: MMatrix): MBoundsBuilder
fun add(x: Double, y: Double, transform: MMatrix?): MBoundsBuilder
fun add(x: Float, y: Float, transform: MMatrix?): MBoundsBuilder
fun add(x: Int, y: Int, transform: MMatrix?): MBoundsBuilder
Link copied to clipboard
fun MBoundsBuilder.add(path: VectorPath, transform: Matrix = Matrix.NIL)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun addRect(x: Double, y: Double, width: Double, height: Double): MBoundsBuilder
fun addRect(x: Int, y: Int, width: Int, height: Int): MBoundsBuilder
Link copied to clipboard
fun getBounds(out: MRectangle = MRectangle()): MRectangle
Link copied to clipboard
fun getBoundsOrNull(out: MRectangle = MRectangle()): MRectangle?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun reset()
Link copied to clipboard
fun xmaxOr(default: Double = 0.0): Double

Maximum value found for X. default if !hasPoints

Link copied to clipboard
fun xminOr(default: Double = 0.0): Double

Minimum value found for X. default if !hasPoints

Link copied to clipboard
fun ymaxOr(default: Double = 0.0): Double

Maximum value found for Y. default if !hasPoints

Link copied to clipboard
fun yminOr(default: Double = 0.0): Double

Minimum value found for Y. default if !hasPoints