Class ShapeBoundsProvider

    • Constructor Detail

      • ShapeBoundsProvider

        public ShapeBoundsProvider()
        Constructs a new ShapeBoundsProvider without padding.
      • ShapeBoundsProvider

        public ShapeBoundsProvider​(double padding)
        Constructs a new ShapeBoundsProvider with the given padding.
        Parameters:
        padding - The padding that is applied around the shape.
      • ShapeBoundsProvider

        public ShapeBoundsProvider​(double leftPadding,
                                   double topPadding,
                                   double rightPadding,
                                   double bottomPadding)
        Constructs a new ShapeBoundsProvider with the given padding.
        Parameters:
        leftPadding - The padding that is applied on the left of the shape.
        topPadding - The padding that is applied on the top of the shape.
        rightPadding - The padding that is applied on the right of the shape.
        bottomPadding - The padding that is applied on the bottom of the shape.