Exemple #1
0
		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);
		}
Exemple #2
0
 public void UpdateStrokeLineJoin(Paint.Join strokeJoin)
 {
     _drawable.Paint.StrokeJoin = strokeJoin;
     Invalidate();
 }