com.groupdocs.annotation.models.annotationmodels

Class TextFieldAnnotation

    • Constructor Detail

      • TextFieldAnnotation

        public TextFieldAnnotation()

        Initializes new instance of TextFieldAnnotation 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 Text Field 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(TextFieldAnnotation other)

        Compares Text Field Annotations using IEquatable Equals method

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

        public final Rectangle getBox()

        Gets or sets annotation position

        Specified by:
        getBox in interface IBox
        Returns:
      • getFontColor

        public final Integer getFontColor()

        Gets or sets annotation text font color

        Specified by:
        getFontColor in interface IFontColor
        Returns:
      • getFontFamily

        public final String getFontFamily()

        Gets or sets annotation text font family

        Specified by:
        getFontFamily in interface IFontFamily
        Returns:
      • getFontSize

        public final Double getFontSize()

        Gets or sets annotation text font size

        Specified by:
        getFontSize in interface IFontSize
        Returns:
      • getOpacity

        public final Double getOpacity()

        Gets or sets annotation opacity

        Specified by:
        getOpacity in interface IOpacity
        Returns:
      • getPenColor

        public final Integer getPenColor()

        Gets or sets annotation pen color

        Specified by:
        getPenColor in interface IPenColor
        Returns:
      • getPenStyle

        public final Byte getPenStyle()

        Gets or sets annotation pen style

        Specified by:
        getPenStyle in interface IPenStyle
        Returns:
      • getPenWidth

        public final Byte getPenWidth()

        Gets or sets annotation pen width

        Specified by:
        getPenWidth in interface IPenWidth
        Returns:
      • getText

        public final String getText()

        Gets or sets text

        Specified by:
        getText in interface IText
        Returns:
      • getTextHorizontalAlignment

        public final Integer getTextHorizontalAlignment()

        Gets or sets text horizontal alignment

        Specified by:
        getTextHorizontalAlignment in interface com.groupdocs.annotation.models.annotationmodels.interfaces.properties.ITextHorizontalAlignment
        Returns:
      • hashCode

        public int hashCode()

        Returns HashCode of Text Field Annotation

        Overrides:
        hashCode in class AnnotationBase
      • setBox

        public final void setBox(Rectangle value)

        Gets or sets annotation position

        Specified by:
        setBox in interface IBox
      • setFontColor

        public final void setFontColor(Integer value)

        Gets or sets annotation text font color

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

        public final void setFontFamily(String value)

        Gets or sets annotation text font family

        Specified by:
        setFontFamily in interface IFontFamily
        Parameters:
        value -
      • setFontSize

        public final void setFontSize(Double value)

        Gets or sets annotation text font size

        Specified by:
        setFontSize in interface IFontSize
        Parameters:
        value -
      • setOpacity

        public final void setOpacity(Double value)

        Gets or sets annotation opacity

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

        public final void setPenColor(Integer value)

        Gets or sets annotation pen color

        Specified by:
        setPenColor in interface IPenColor
        Parameters:
        value -
      • setPenStyle

        public final void setPenStyle(Byte value)

        Gets or sets annotation pen style

        Specified by:
        setPenStyle in interface IPenStyle
        Parameters:
        value -
      • setPenWidth

        public final void setPenWidth(Byte value)

        Gets or sets annotation pen width

        Specified by:
        setPenWidth in interface IPenWidth
        Parameters:
        value -
      • setText

        public final void setText(String value)

        Gets or sets text

        Specified by:
        setText in interface IText
        Parameters:
        value -
      • setTextHorizontalAlignment

        public final void setTextHorizontalAlignment(Integer value)

        Gets or sets text horizontal alignment

        Specified by:
        setTextHorizontalAlignment in interface com.groupdocs.annotation.models.annotationmodels.interfaces.properties.ITextHorizontalAlignment
        Parameters:
        value -