Packages

 

com.aspose.cad.fileformats.cad.cadobjects.attentities

Class CadAttDef

  • All Implemented Interfaces:
    com.aspose.ms.System.ICloneable, Cloneable


    public class CadAttDef
    extends CadXrecordObject
    implements com.aspose.ms.System.ICloneable, Cloneable

    Class describing Cad AttributeDefinitions

    • Constructor Detail

      • CadAttDef

        public CadAttDef()

        Initializes a new instance of the CadAttDef class.

    • Method Detail

      • getMultiText

        public CadMText getMultiText()

        Gets the multi text.

        Returns:
        The multi text.
      • setMultiText

        public void setMultiText(CadMText value)

        Sets the multi text.

        Parameters:
        value - The multi text.
      • getVersionNumber

        public CadShortParameter getVersionNumber()

        Gets the version number.

        Returns:
        The version number.
      • setVersionNumber

        public void setVersionNumber(CadShortParameter value)

        Sets the version number.

        Parameters:
        value - The version number.
      • getLockPositionFlag

        public short getLockPositionFlag()

        Gets the lock position flag.

        Returns:
        The lock position flag.
      • setLockPositionFlag

        public void setLockPositionFlag(short value)

        Sets the lock position flag.

        Parameters:
        value - The lock position flag.
      • getDefaultString

        public String getDefaultString()

        Gets the default string.

        Returns:
        The default string.
      • setDefaultString

        public void setDefaultString(String value)

        Sets the default string.

        Parameters:
        value - The default string.
      • getFieldLength

        public short getFieldLength()

        Gets the field length.

        Returns:
        The field length.
      • setFieldLength

        public void setFieldLength(short value)

        Sets the field length.

        Parameters:
        value - The field length.
      • getFirstAlignment

        public Cad3DPoint getFirstAlignment()

        Gets the first alignment.

        Returns:
        The first alignment.
      • setFirstAlignment

        public void setFirstAlignment(Cad3DPoint value)

        Sets the first alignment.

        Parameters:
        value - The first alignment.
      • getFlags

        public short getFlags()

        Gets the flags.

        Returns:
        The flags.
      • setFlags

        public void setFlags(short value)

        Sets the flags.

        Parameters:
        value - The flags.
      • getGenerationFlag

        public short getGenerationFlag()

        Gets the generation flag.

        Returns:
        The generation flag.
      • setGenerationFlag

        public void setGenerationFlag(short value)

        Sets the generation flag.

        Parameters:
        value - The generation flag.
      • getHorizontalAlignment

        public short getHorizontalAlignment()

        Gets the horizontal alignment.

        Returns:
        The horizontal alignment.
      • setHorizontalAlignment

        public void setHorizontalAlignment(short value)

        Sets the horizontal alignment.

        Parameters:
        value - The horizontal alignment.
      • getId

        public String getId()

        Gets the id.

        Returns:
        The id.
      • setId

        public void setId(String value)

        Sets the id.

        Parameters:
        value - The id.
      • getObliqueAngle

        public double getObliqueAngle()

        Gets the oblique angle.

        Returns:
        The oblique angle.
      • setObliqueAngle

        public void setObliqueAngle(double value)

        Sets the oblique angle.

        Parameters:
        value - The oblique angle.
      • getPromptString

        public CadStringParameter getPromptString()

        Gets the prompt string.

        Returns:
        The prompt string.
      • setPromptString

        public void setPromptString(CadStringParameter value)

        Sets the prompt string.

        Parameters:
        value - The prompt string.
      • getRotationAngle

        public double getRotationAngle()

        Gets the rotation angle.

        Returns:
        The rotation angle.
      • setRotationAngle

        public void setRotationAngle(double value)

        Sets the rotation angle.

        Parameters:
        value - The rotation angle.
      • getScaleX

        public double getScaleX()

        Gets the scale x.

        Returns:
        The scale x.
      • setScaleX

        public void setScaleX(double value)

        Sets the scale x.

        Parameters:
        value - The scale x.
      • getSecondAlignment

        public Cad3DPoint getSecondAlignment()

        Gets the second alignment.

        Returns:
        The second alignment.
      • setSecondAlignment

        public void setSecondAlignment(Cad3DPoint value)

        Sets the second alignment.

        Parameters:
        value - The second alignment.
      • getStyleName

        public String getStyleName()

        Gets the style name.

        Returns:
        The style name.
      • setStyleName

        public void setStyleName(String value)

        Sets the style name.

        Parameters:
        value - The style name.
      • getTextHeight

        public double getTextHeight()

        Gets the text height.

        Returns:
        The text height.
      • setTextHeight

        public void setTextHeight(double value)

        Sets the text height.

        Parameters:
        value - The text height.
      • getThickness

        public double getThickness()

        Gets the thickness.

        Returns:
        The thickness.
      • setThickness

        public void setThickness(double value)

        Sets the thickness.

        Parameters:
        value - The thickness.
      • getVerticalJustification

        public short getVerticalJustification()

        Gets the vertical justification.

        Returns:
        The vertical justification.
      • setVerticalJustification

        public void setVerticalJustification(short value)

        Sets the vertical justification.

        Parameters:
        value - The vertical justification.
      • getTextPositionPoint_internalized

        public Cad3DPoint getTextPositionPoint_internalized()

        Gets the text position point.

        Returns:
        The text position point.
      • setTextPositionPoint_internalized

        public void setTextPositionPoint_internalized(Cad3DPoint value)

        Sets text position point.

        Parameters:
        value - The text position point.
      • deepClone

        public Object deepClone()

        Clones current object

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
        Returns:
        Clone of current object
      • accept_internalized

        public void accept_internalized(com.aspose.cad_internal.fileformats.cad.visitors.Visitor visitor)

        Accepts the specified visitor.

        Overrides:
        accept_internalized in class CadBase
        Parameters:
        visitor - The visitor.