Class IntKt

  • All Implemented Interfaces:

    
    public final class IntKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Integer dpToPx(Integer $self) Transforms DP value integer to pixels, based on the screen density.
      final static Float dpToPxPrecise(Integer $self) Uses the display metrics to transform the value of DP to pixels.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • dpToPx

         final static Integer dpToPx(Integer $self)

        Transforms DP value integer to pixels, based on the screen density.

      • dpToPxPrecise

         final static Float dpToPxPrecise(Integer $self)

        Uses the display metrics to transform the value of DP to pixels.