类 CSSLength

java.lang.Object
org.ddr.poi.html.util.CSSLength
直接已知子类:
SpanWidth

public class CSSLength extends Object
CSS长度值
从以下版本开始:
2021-03-01
  • 字段详细资料

    • INVALID

      public static final CSSLength INVALID
  • 构造器详细资料

    • CSSLength

      public CSSLength(double value, CSSLengthUnit unit)
  • 方法详细资料

    • getValue

      public double getValue()
    • getUnit

      public CSSLengthUnit getUnit()
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object
    • toEMU

      public int toEMU()
      单位转EMU,适用于绝对长度单位
    • unitValue

      public double unitValue()
    • to

      public CSSLength to(CSSLengthUnit other)
    • toHalfPoints

      public int toHalfPoints()
    • isValid

      public boolean isValid()
    • isPercent

      public boolean isPercent()
    • isValidPercent

      public boolean isValidPercent()
    • of

      public static CSSLength of(String text)
    • equals

      public boolean equals(Object o)
      覆盖:
      equals 在类中 Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object