Class BasicStrokeObjectDescription

    • Constructor Detail

      • BasicStrokeObjectDescription

        public BasicStrokeObjectDescription()
        Creates a new object description.
    • Method Detail

      • getFloatParameter

        private float getFloatParameter​(java.lang.String param)
        Returns a parameter as a float.
        Parameters:
        param - the parameter name.
        Returns:
        The float value.
      • createObject

        public java.lang.Object createObject()
        Creates a new BasicStroke object based on this description.
        Returns:
        The BasicStroke object.
      • setParameterFromObject

        public void setParameterFromObject​(java.lang.Object o)
                                    throws ObjectFactoryException
        Sets the parameters for this description to match the supplied object.
        Parameters:
        o - the object (instance of BasicStroke required).
        Throws:
        ObjectFactoryException - if the supplied object is not an instance of BasicStroke.