Class BasicStrokeObjectDescription

    • Constructor Detail

      • BasicStrokeObjectDescription

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

      • createObject

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

        public void setParameterFromObject​(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.