com.aspose.xps

Class Size2D.Float

    • Field Detail

      • width

        public float width
        The width of this Size2D.
      • height

        public float height
        The height of this Size2D.
    • Constructor Detail

      • Float

        public Float()

        Creates the Size2D instance.

      • Float

        public Float(float width,
                     float height)

        Creates the Size2D instance.

        Parameters:
        width - The width.
        height - The height.
    • Method Detail

      • setSize

        public void setSize(float w,
                            float h)
        Sets the dimensions of this Size2D to the specified float values.
        Parameters:
        w - The width of this Size2D
        h - The height of this Size2D
      • setSize

        public void setSize(double w,
                            double h)
        Specified by:
        setSize in class Dimension2D