com.groupdocs.annotation.models.annotationmodels

Class PointAnnotation

    • Constructor Detail

      • PointAnnotation

        public PointAnnotation()

        Initializes new instance of PointAnnotation 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 boolean equals(Object o)

        Compares Point 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(PointAnnotation other)

        Compares Point Annotations using IEquatable Equals method

        Parameters:
        other - The PointAnnotation object to compare with the current object
        Returns:
      • getBox

        public final Rectangle getBox()

        Gets or sets annotation position

        Specified by:
        getBox in interface IBox
        Returns:
      • hashCode

        public int hashCode()

        Returns HashCode of Point Annotation

        Overrides:
        hashCode in class AnnotationBase
      • setBox

        public final void setBox(Rectangle value)

        Gets or sets annotation position

        Specified by:
        setBox in interface IBox