Set the pan value for the specified line.
429376
protected static void adjustPan (Line line, float pan)
    {
        try {
            FloatControl control = (FloatControl) line.getControl(FloatControl.Type.PAN);
            control.setValue(pan);
        } catch (Exception e) {
            log.debug("Cannot set pan on line: " + e);
        }
    }
1314296
def panset_cb(self, setting, value, chviewer, info):
        
        return self.panset(chviewer, info.chinfo)
625843
function setOffsetToLine(line, offset, baseline) {
            if (baseline >= line) {
                return
            }
            const actualText = getActualLineIndentText(line)

            offsets.set(line, {
                actualText,
                baseline,
                offset,
                expectedIndent: undefined,
            })
        }
481462
def setZValue(self, value):
        
        super(XNodeConnection, self).setZValue(value)

        if self._textItem:
            self._textItem.setZValue(value)
802951
void set(int index, int value) {
        int chunk = assertSpace(index);
        chunks[chunk][index & mask] = value;
    }
149614
def set_value(self, value):
        
        parsed_value = self._parse_value(value)
        self.value = parsed_value
1185020
public void setLineCap(@Property.LINE_CAP String value) {
    PropertyValue propertyValue = lineCap(value);
    constantPropertyUsageMap.put(PROPERTY_LINE_CAP, propertyValue);
    layer.setProperties(propertyValue);
  }
916279
def set_line_width(self, width=1.):
        
        width = float(width)
        if width < 0:
            raise RuntimeError('Cannot have width < 0')
        self.glir.command('FUNC', 'glLineWidth', width)
1370609
def update_line(self, t, x, y, panel='top', **kws):
        
        panel = self.get_panel(panel)
        panel.update_line(t, x, y, **kws)
497616
def setnx(self, key, value):
        """"""
        return self.set(key, value, nx=True)
575934
def _set_value(self, parameter, new_value):
        """"""
        try:
            self.block_matcher.__setattr__(parameter, new_value)
        except BadBlockMatcherArgumentError:
            return
        self.update_disparity_map()
1172061
def set_range(self, bounds, keep_aspect=False):
        """"""
        # a * (v0 + t) = -1
        # a * (v1 + t) = +1
        # =>
        # a * (v1 - v0) = 2
        bounds = np.asarray(bounds, dtype=np.float64)
        v0 = bounds[:2]
        v1 = bounds[2:]
        pan = -.5 * (v0 + v1)
        zoom = 2. / (v1 - v0)
        if keep_aspect:
            zoom = zoom.min() * np.ones(2)
        self.set_pan_zoom(pan=pan, zoom=zoom)
195240
public void setReal(T value, int m, int n)
    {
        setReal( value, getIndex(m,n) );
    }
632291
def _set(self, value):
        """"""
        self._value = value
        self.record._raw['values'][self.id] = self.get_swimlane()
995833
def update_line(self, t, x, y, panel=None, **kw):
        
        if panel is None:
            panel = self.current_panel
        self.panels[panel].update_line(t, x, y, **kw)
30495
def set(self, value):
        """"""
        self._elk.send(cw_encode(self._index, value, self.value_format))
798700
public void set(float val, Layout.Axis axis) {
        switch (axis) {
            case X:
                x = val;
                break;
            case Y:
                y = val;
                break;
            case Z:
                z = val;
                break;
            default:
                throw new RuntimeAssertion("Bad axis specified: %s", axis);
        }
    }