Class UnscaledFixedCutProvider

    • Constructor Detail

      • UnscaledFixedCutProvider

        public UnscaledFixedCutProvider​(int header,
                                        int footer,
                                        int left,
                                        int right)
        Parameters:
        header - The header to cut in pixels.
        footer - The footer to cut in pixels.
        left - The left to cut in pixels.
        right - The right to cut in pixels.
    • Method Detail

      • scale

        public CutProvider scale​(double scaleRatio)
        Description copied from interface: CutProvider
        Get a scaled version of the cut provider.
        Specified by:
        scale in interface CutProvider
        Overrides:
        scale in class FixedCutProvider
        Parameters:
        scaleRatio - The ratio by which to scale the current cut parameters.
        Returns:
        A new scale cut provider instance.