public function setStrokePosition($value)
    {
        if (!StrokePosition::getIsValid($value)) {
            throw new InvalidConfigException('Unknown "StrokePosition" value');
        }

        $this->options['strokePosition'] = new JsExpression($value);
    }
public function setStrokePosition($value)
    {
        if (!StrokePosition::getIsValid($value)) {
            throw new InvalidConfigException('Unknown "StrokePosition" value');
        }

        $this->options['strokePosition'] = new JsExpression($value);
    }
public function setStrokePosition ( $ value ) { if ( ! StrokePosition :: getIsValid ( $ value ) ) { throw new InvalidConfigException ( 'Unknown "StrokePosition" value' ) ; } $ this -> options [ 'strokePosition' ] = new JsExpression ( $ value ) ; }
Sets the stroke position

@param $value

@throws \yii\base\InvalidConfigException
Sets the stroke position