Package org.jsignal.ui
Class MathUtil
java.lang.Object
org.jsignal.ui.MathUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic float[]
apply
(io.github.humbleui.skija.Matrix33 matrix, float[] vec) static io.github.humbleui.types.Point
apply
(io.github.humbleui.skija.Matrix33 matrix, io.github.humbleui.types.Point point) static boolean
contains
(io.github.humbleui.types.Rect rect, io.github.humbleui.types.Point p) static io.github.humbleui.skija.Matrix33
diag
(float[] vec) static io.github.humbleui.skija.Matrix33
inverse
(io.github.humbleui.skija.Matrix33 matrix) static io.github.humbleui.skija.Matrix33
scaleCenter
(float xy, float width, float height) static io.github.humbleui.skija.Matrix33
scaleCenter
(float x, float y, float width, float height)
-
Constructor Details
-
MathUtil
public MathUtil()
-
-
Method Details
-
contains
public static boolean contains(io.github.humbleui.types.Rect rect, io.github.humbleui.types.Point p) -
apply
public static io.github.humbleui.types.Point apply(io.github.humbleui.skija.Matrix33 matrix, io.github.humbleui.types.Point point) -
apply
public static float[] apply(io.github.humbleui.skija.Matrix33 matrix, float[] vec) -
inverse
public static io.github.humbleui.skija.Matrix33 inverse(io.github.humbleui.skija.Matrix33 matrix) -
diag
public static io.github.humbleui.skija.Matrix33 diag(float[] vec) -
scaleCenter
public static io.github.humbleui.skija.Matrix33 scaleCenter(float xy, float width, float height) -
scaleCenter
public static io.github.humbleui.skija.Matrix33 scaleCenter(float x, float y, float width, float height)
-