Class HSLFAutoShape

    • Method Detail

      • getAdjustmentValue

        public int getAdjustmentValue​(int idx)
        Gets adjust value which controls smart resizing of the auto-shape.

        The adjustment values are given in shape coordinates: the origin is at the top-left, positive-x is to the right, positive-y is down. The region from (0,0) to (S,S) maps to the geometry box of the shape (S=21600 is a constant).

        Parameters:
        idx - the adjust index in the [0, 9] range
        Returns:
        the adjustment value
      • setAdjustmentValue

        public void setAdjustmentValue​(int idx,
                                       int val)
        Sets adjust value which controls smart resizing of the auto-shape.

        The adjustment values are given in shape coordinates: the origin is at the top-left, positive-x is to the right, positive-y is down. The region from (0,0) to (S,S) maps to the geometry box of the shape (S=21600 is a constant).

        Parameters:
        idx - the adjust index in the [0, 9] range
        val - the adjustment value