com.groupdocs.redaction

Class RegionReplacementOptions



  • public class RegionReplacementOptions
    extends Object

    Defines color and area parameters for image region replacement

    • Constructor Detail

      • RegionReplacementOptions

        public RegionReplacementOptions(Color fillColor,
                                Dimension size)

        Creates new instance

        Parameters:
        fillColor - Color to fill the area
        size - Filled area size
      • RegionReplacementOptions

        public RegionReplacementOptions(Color fillColor,
                                Font font,
                                String expectedText)

        Creates new instance which size matches given text

        Parameters:
        fillColor - Color to fill the area
        font - Expected text font
        expectedText - Expected text
    • Method Detail

      • getFillColor

        public final Color getFillColor()

        Color to fill the redacted area

      • setFillColor

        public final void setFillColor(Color value)

        Color to fill the redacted area

      • getSize

        public final Dimension getSize()

        Rectangle with and height

      • setSize

        public final void setSize(Dimension value)

        Rectangle with and height