com.aspose.html.dom.canvas

Interface ITextMetrics



  • @DOMNameAttribute(name="TextMetrics")
    public interface ITextMetrics

    Represents the dimension of a text in the canvas.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      double getWidth()
      Is a double giving the calculated width of a segment of inline text in CSS pixels.
    • Method Detail

      • getWidth

        @DOMNameAttribute(name="width")
        double getWidth()

        Is a double giving the calculated width of a segment of inline text in CSS pixels.