com.groupdocs.annotation.models.annotationmodels

Class HighlightAnnotation

    • Constructor Detail

      • HighlightAnnotation

        public HighlightAnnotation()

        Initializes new instance of HighlightAnnotation 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
        Returns:
      • equals

        public final boolean equals(HighlightAnnotation other)

        Compares Highlight Annotations using IEquatable Equals method

        Parameters:
        other - The HighlightAnnotation object to compare with the current object
        Returns:
      • equals

        public boolean equals(Object obj)

        Compares Highlight Annotations using standard object Equals method

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<AnnotationBase>
        Overrides:
        equals in class AnnotationBase
        Parameters:
        obj - The object to compare with the current object
      • 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 Highlight 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 -