Class ViBox

  • All Implemented Interfaces:

    
    public final class ViBox
    
                        

    Parsed bounding-box from a vi attribute.

    Supports three wire formats (auto-detected):

    • Base-36 (compact): comma-separated base-36 integers containing letters e.g. "3g,cp,5k,1f" → x=124, y=457, w=200, h=51

    • Compact decimal: comma-separated decimal integers (no letters) e.g. "0,0,1920,1080"

    • Legacy decimal: space-separated decimal numbers e.g. "123.5 456.7 200.3 50.8"

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class ViBox.Companion
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Double getX()
      final Double getY()
      final Double getW()
      final Double getH()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait