Package-level declarations

Types

Link copied to clipboard
sealed interface IScale
Link copied to clipboard
sealed interface IVector3
Link copied to clipboard
data class LineIntersection(val line: MLine = MLine(), var intersection: Point = Point())
Link copied to clipboard
Link copied to clipboard
data class MLine(var a: Point, var b: Point)
Link copied to clipboard
data class MMatrix(var a: Double = 1.0, var b: Double = 0.0, var c: Double = 0.0, var d: Double = 1.0, var tx: Double = 0.0, var ty: Double = 0.0) : MutableInterpolable<MMatrix> , Interpolable<MMatrix>
Link copied to clipboard
typealias MMatrix3D = MMatrix4
Link copied to clipboard
class MMatrix4
Link copied to clipboard
data class MPoint(var x: Double, var y: Double) : MutableInterpolable<MPoint> , Interpolable<MPoint> , Comparable<MPoint> , IsAlmostEquals<MPoint>
Link copied to clipboard
inline class MPointInt(val p: MPoint) : Comparable<MPointInt> , MutableInterpolable<MPointInt>
Link copied to clipboard
typealias MPosition3D = MVector4
Link copied to clipboard
data class MRectangle(var x: Double, var y: Double, var width: Double, var height: Double) : MutableInterpolable<MRectangle> , Interpolable<MRectangle> , Sizeable, MSizeable, IsAlmostEquals<MRectangle>
Link copied to clipboard
inline class MRectangleInt(val rect: MRectangle)
Link copied to clipboard
data class MScale(var scaleX: Double, var scaleY: Double) : IScale
Link copied to clipboard
typealias MScale3D = MVector4
Link copied to clipboard
inline class MSize(val p: MPoint) : MutableInterpolable<MSize> , Interpolable<MSize> , Sizeable, MSizeable
Link copied to clipboard
interface MSizeable
Link copied to clipboard
inline class MSizeInt(val float: MSize)
Link copied to clipboard
typealias MVector2D = MPoint
Link copied to clipboard
Link copied to clipboard
typealias MVector3D = MVector4
Link copied to clipboard
class MVector4
Link copied to clipboard
inline class MVector4Int(val v: MVector4)
Link copied to clipboard
data class PointFixed(val x: Fixed, val y: Fixed)

Properties

Link copied to clipboard
val Margin.bottomFixed: FixedShort
Link copied to clipboard
Link copied to clipboard
val Margin.horizontalFixed: FixedShort
Link copied to clipboard
val MMatrix4.immutable: Matrix4
val MMatrix?.immutable: Matrix
val MSize.immutable: Size
val Matrix.immutable: Matrix
Link copied to clipboard
Link copied to clipboard
val Margin.leftFixed: FixedShort
Link copied to clipboard
val Margin.leftPlusRightFixed: FixedShort
Link copied to clipboard
val Matrix.mutable: MMatrix
val Matrix4.mutable: MMatrix4
val Rectangle.mutable: MRectangle
val RectangleInt.mutable: MRectangleInt
val Size.mutable: MSize
val Point.mutable: MPoint
val Vector2I.mutable: MPointInt
Link copied to clipboard
val Matrix.mutableOrNull: MMatrix?
Link copied to clipboard
val Margin.rightFixed: FixedShort
Link copied to clipboard
val Margin.topFixed: FixedShort
Link copied to clipboard
val Margin.topPlusBottomFixed: FixedShort
Link copied to clipboard
val Margin.verticalFixed: FixedShort

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Iterable<MRectangle>.bounds(target: MRectangle = MRectangle()): MRectangle
fun Iterable<MPoint>.bounds(out: MRectangle = MRectangle(), bb: MBoundsBuilder = MBoundsBuilder()): MRectangle
fun List<MPoint>.bounds(out: MRectangle = MRectangle(), bb: MBoundsBuilder = MBoundsBuilder()): MRectangle
Link copied to clipboard
fun MPoint.clamp(min: Double, max: Double, out: MPoint = MPoint()): MPoint
Link copied to clipboard
fun Rectangle.copyTo(out: MRectangle = MRectangle()): MRectangle
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun max(a: MPoint, b: MPoint, out: MPoint = MPoint()): MPoint
Link copied to clipboard
fun min(a: MPoint, b: MPoint, out: MPoint = MPoint()): MPoint
Link copied to clipboard
fun Rectangle.mutable(out: MRectangle = MRectangle()): MRectangle
fun Point.mutable(out: MPoint = MPoint()): MPoint
Link copied to clipboard
fun mvec(x: Float, y: Float, z: Float): MVector3
Link copied to clipboard
fun MLine.projectedPoint(point: Point): Point
fun MLine.Companion.projectedPoint(v1: Point, v2: Point, point: Point): Point
fun MLine.Companion.projectedPoint(v1x: Double, v1y: Double, v2x: Double, v2y: Double, px: Double, py: Double): Point
Link copied to clipboard
Link copied to clipboard
fun MScale.toImmutable(): Scale
Link copied to clipboard
fun Matrix.toMatrix4(): Matrix4
fun MMatrix.toMatrix4(out: MMatrix4 = MMatrix3D()): MMatrix4
Link copied to clipboard
fun Point.toMPoint(out: MPoint = MPoint()): MPoint
Link copied to clipboard
fun Rectangle.toMRectangle(out: MRectangle = MRectangle()): MRectangle
Link copied to clipboard
fun Scale.toMutable(out: MScale = MScale()): MScale
Link copied to clipboard
fun Circle.toVectorPath(): VectorPath
fun Ellipse.toVectorPath(): VectorPath
fun Polygon.toVectorPath(): VectorPath
fun Polyline.toVectorPath(): VectorPath
fun Rectangle.toVectorPath(): VectorPath
fun RoundRectangle.toVectorPath(): VectorPath