Set the join style to be one of ('miter', 'round', 'bevel')
175292
def set_joinstyle(self, js):
        
        DEBUG_MSG("set_joinstyle()", 1, self)
        self.select()
        GraphicsContextBase.set_joinstyle(self, js)
        self._pen.SetJoin(GraphicsContextWx._joind[self._joinstyle])
        self.gfx_ctx.SetPen(self._pen)
        self.unselect()
1137544
function(verts, styles, ctx){

            var vert = verts[0]
                ,x = vert.x
                ,y = vert.y
                ,l = verts.length
                ;

            ctx = ctx || this.ctx;
            ctx.beginPath();
            this.setStyle( styles, ctx );

            ctx.moveTo(x, y);

            for ( var i = 1; i < l; ++i ){

                vert = verts[ i ];
                x = vert.x;
                y = vert.y;
                ctx.lineTo(x, y);
            }

            if ( l > 2 ){
                ctx.closePath();
            }

            ctx.stroke();
            ctx.fill();
        }
915817
def align(value):
        
        if value.value:
            _assert_is_type('shape.value', value.value, str_types)
            if value.value not in PropertySet._valid_align:
                raise ValueError(value.value + ' is not a valid alignment')
30796
function(element, property, value, unit){
		element.setStyle(property, this.serve(value, unit));
	}
180857
function mergeTransitiveStyles (base, extended) {
  const styles = Object.assign({}, base)
  for (const key in extended) {
    if (key in base) styles[key] = Object.assign({}, styles[key], extended[key])
    else styles[key] = extended[key]
  }
  return styles
}
202128
protected function _set_line_style($width, $cap, $join, $dash)
    {
        $this->_pdf->setLineStyle($width, $cap, $join, $dash);
    }
1355909
public static FlinkJoinType getFlinkJoinType(Join join) {
		if (join instanceof SemiJoin) {
			// TODO supports ANTI
			return FlinkJoinType.SEMI;
		} else {
			return toFlinkJoinType(join.getJoinType());
		}
	}
1342991
def _glob_pjoin(*parts):
    """"""
    if parts[0] in ('.', ''):
        parts = parts[1:]
    return pjoin(*parts).replace(os.sep, '/')
1189386
function(value) {
      var parts = [];
      for (var key in value) {
        parts.push(convertStylePropertyName(key) + ': ' + value[key]);
      }
      return parts.join('; ');
    }
528974
def join(separator = $,)
      result = ""
      if separator
        each_with_index { |obj, i| result << separator if i > 0; result << obj.to_s }
      else
        each { |obj| result << obj.to_s }
      end
      return Erlang.from(result)
    end
1341087
function() {
      var t = this,
          viewElem = t.$('.nm-cv'),
          width = viewElem.outerWidth() + 10;

      // Change the model CSS.
      var css = _.clone(t.model.get('css')),
          parsedCss = $.parseStyleString(css['.nm-cv'] || '');
      parsedCss['left'] = '-' + width + 'px';
      css['.nm-cv'] = $.makeStyleString(parsedCss);
      t.model.set({css: css});
    }
84548
public static int sld2awtJoin( String sldJoin ) {
        if (sldJoin.equals(lineJoinNames[1])) {
            return BasicStroke.JOIN_BEVEL;
        } else if (sldJoin.equals("") || sldJoin.equals(lineJoinNames[2])) {
            return BasicStroke.JOIN_MITER;
        } else if (sldJoin.equals(lineJoinNames[3])) {
            return BasicStroke.JOIN_ROUND;
        } else {
            throw new IllegalArgumentException("unsupported line join");
        }
    }
1360556
def formjoinin(self):
        '''
        
        '''

        self.ignore(whitespace)

        self.nextmust('<+-')

        self.ignore(whitespace)

        if self.nextchar() == '*':
            self.offs += 1
            return s_ast.PivotIn(isjoin=True)

        prop = self.absprop()
        return s_ast.PivotInFrom(kids=(prop,), isjoin=True)
494050
def join_cols(cols):
    """"""
    return ", ".join([i for i in cols]) if isinstance(cols, (list, tuple, set)) else cols
364315
function foldStyle(style) {
    for (var i = 0; i < style.length; i++) {
        for (var j = style.length - 1; j > i; j--) {
            if (style[j].filters.cloneWith(style[i].filters) === null) {
                style.splice(j, 1);
            }
        }
    }
    return style;
}
12597
def line_join_type(self):
        """"""
        key = self._data.get(b'strokeStyleLineJoinType').enum
        return self.STROKE_STYLE_LINE_JOIN_TYPES.get(key, str(key))
711736
def _compose_style(self):
        """"""
        valid_styles = (
            'color', 'width', 'filter', 'strokeWidth', 'strokeColor',
        )
        self.styling = '\n'.join(
            '{prop}: {style}'.format(prop=s, style=getattr(self, s))
            for s in valid_styles
            if getattr(self, s) is not None
        )