예제 #1
0
파일: ShapeRenderer.cs 프로젝트: hevey/maui
		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);
		}
예제 #2
0
 public void UpdateStrokeLineJoin(Paint.Join strokeJoin)
 {
     _drawable.Paint.StrokeJoin = strokeJoin;
     Invalidate();
 }