.. role:: ts-api-decorator

#######################
RedlinePolylineOperator
#######################

.. js:module:: Operators.Redline
   :noindex:

.. container:: ts-api-section

   .. js:class:: RedlinePolylineOperator



.. container:: api-index-section

   .. rubric:: Methods

   .. rst-class:: api-index-list-item api-kind-method api-parent-kind-class

   * :js:meth:`~Operators.Redline.RedlinePolylineOperator.addMapping`
   * :js:meth:`~Operators.Redline.RedlinePolylineOperator.clearMapping`
   * :js:meth:`~Operators.Redline.RedlinePolylineOperator.setMapping`





------------

Methods
=======

.. rst-class:: ts-api-section

addMapping
----------

.. js:method:: RedlinePolylineOperator.addMapping( button, modifier)

   :param button: None
   :type button: Button
   :param modifier: None
   :type modifier: KeyModifiers


   Adds a button and key modifier mapping for the operator. If no mapping is provided, all combinations are considered valid.
   All mappings require a mouse button, but a key modifier is optional.


   :rtype: void

.. rst-class:: ts-api-section

clearMapping
------------

.. js:method:: RedlinePolylineOperator.clearMapping()



   Clears any button and key modifier mappings for the operator.


   :rtype: void

.. rst-class:: ts-api-section

setMapping
----------

.. js:method:: RedlinePolylineOperator.setMapping( button, modifier)

   :param button: None
   :type button: Button
   :param modifier: None
   :type modifier: KeyModifiers


   Sets the button and key modifier mapping for the operator.


   :rtype: void

