コード例 #1
0
ファイル: ShapeViewExtensions.cs プロジェクト: sung-su/maui
 public static void InvalidateShape(this PlatformGraphicsView platformView, IShapeView shapeView)
 {
     platformView.InvalidateDrawable();
 }
コード例 #2
0
ファイル: ShapeViewExtensions.cs プロジェクト: sung-su/maui
 public static void UpdateShape(this PlatformGraphicsView platformView, IShapeView shapeView)
 {
     platformView.Drawable = new ShapeDrawable(shapeView);
 }
コード例 #3
0
 public static void UpdateDrawable(this PlatformGraphicsView PlatformGraphicsView, IGraphicsView graphicsView)
 {
     PlatformGraphicsView.Drawable = graphicsView.Drawable;
 }