com.groupdocs.annotation.models.annotationmodels

Class ReplacementAnnotation

    • Constructor Detail

      • ReplacementAnnotation

        public ReplacementAnnotation()

        Initializes new instance of ReplacementAnnotation class.

    • Method Detail

      • deepClone

        public Object deepClone()

        Returns new Instance with same values

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
        Overrides:
        deepClone in class AnnotationBase
      • equals

        public boolean equals(Object o)

        Compares Replacement Annotations using standard object Equals method

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<AnnotationBase>
        Overrides:
        equals in class AnnotationBase
        Parameters:
        o - The object to compare with the current object
      • equals

        public final boolean equals(ReplacementAnnotation other)

        Compares Replacement Annotations using IEquatable Equals method

        Parameters:
        other - The ReplacementAnnotation object to compare with the current object
        Returns:
      • getFontColor

        public final Integer getFontColor()

        Gets or sets annotation text font color

        Specified by:
        getFontColor in interface IFontColor
        Returns:
      • getOpacity

        public final Double getOpacity()

        Gets or sets annotation opacity

        Specified by:
        getOpacity in interface IOpacity
        Returns:
      • getPoints

        public final List<Point> getPoints()

        Gets or sets collection of points that describe rectangles with text

        Specified by:
        getPoints in interface IPoints
        Returns:
      • hashCode

        public int hashCode()

        Returns HashCode of Replacement Annotation

        Overrides:
        hashCode in class AnnotationBase
      • setFontColor

        public final void setFontColor(Integer value)

        Gets or sets annotation text font color

        Specified by:
        setFontColor in interface IFontColor
        Parameters:
        value -
      • setOpacity

        public final void setOpacity(Double value)

        Gets or sets annotation opacity

        Specified by:
        setOpacity in interface IOpacity
        Parameters:
        value -
      • setPoints

        public final void setPoints(List<Point> value)

        Gets or sets collection of points that describe rectangles with text

        Specified by:
        setPoints in interface IPoints
        Parameters:
        value -
      • setTextToReplace

        public final void setTextToReplace(String value)

        Gets or sets text to be replaced

        Specified by:
        setTextToReplace in interface ITextToReplace
        Parameters:
        value -