Class MathUtil

java.lang.Object
org.jsignal.ui.MathUtil

public class MathUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static 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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)