void UpdateStrokeLineJoin() { PenLineJoin lineJoin = Element.StrokeLineJoin; Paint.Join aLineJoin = Paint.Join.Miter; switch (lineJoin) { case PenLineJoin.Miter: aLineJoin = Paint.Join.Miter; break; case PenLineJoin.Bevel: aLineJoin = Paint.Join.Bevel; break; case PenLineJoin.Round: aLineJoin = Paint.Join.Round; break; } Control.UpdateStrokeLineJoin(aLineJoin); }
public void UpdateStrokeLineJoin(Paint.Join strokeJoin) { _drawable.Paint.StrokeJoin = strokeJoin; Invalidate(); }