Packages

 

com.aspose.cad.fileformats.cad.cadparameters

Class CadDoubleParameter



  • public class CadDoubleParameter
    extends CadParameter

    Class for Double values

    • Constructor Detail

      • CadDoubleParameter

        public CadDoubleParameter(int attribute)

        Initializes a new instance of the CadDoubleParameter class.

        Parameters:
        attribute - The attribute.
      • CadDoubleParameter

        public CadDoubleParameter()

        Initializes a new instance of the CadDoubleParameter class.

      • CadDoubleParameter

        public CadDoubleParameter(int type,
                                  int optional)

        Initializes a new instance of the CadDoubleParameter class.

        Parameters:
        type - The type of the parameter.
        optional - The optional.
      • CadDoubleParameter

        public CadDoubleParameter(int type,
                                  int optional,
                                  Object defaultValue)

        Initializes a new instance of the CadDoubleParameter class.

        Parameters:
        type - The type of the parameter.
        optional - The optional flag.
        defaultValue - The default value.
    • Method Detail

      • getValue

        public double getValue()

        Gets or sets the value.

        Value: The value of the parameter.
      • setValue

        public void setValue(double value)

        Gets or sets the value.

        Value: The value of the parameter.
      • init

        public void init(CadCodeValue value)

        Initialize the specified value.

        Specified by:
        init in class CadParameter
        Parameters:
        value - The string value will be converted to Double.
      • init

        public void init(Object value)

        Initialize the specified value.

        Specified by:
        init in class CadParameter
        Parameters:
        value - The value of the parameter.