6 changed files with 57 additions and 2 deletions
@ -0,0 +1,11 @@ |
|||
using Avalonia.Media.Immutable; |
|||
|
|||
namespace Avalonia.Rendering.Composition.Server; |
|||
|
|||
internal partial class ServerCompositionSolidColorVisual |
|||
{ |
|||
protected override void RenderCore(CompositorDrawingContextProxy canvas, Rect currentTransformedClip) |
|||
{ |
|||
canvas.DrawRectangle(new ImmutableSolidColorBrush(Color), null, new Rect(0, 0, Size.X, Size.Y)); |
|||
} |
|||
} |
|||
Loading…
Reference in new issue