A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

33 lines
830 B

// -----------------------------------------------------------------------
// <copyright file="IVisual.cs" company="Steven Kirk">
// Copyright 2014 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex
{
using System;
using System.Collections.Generic;
using Perspex.Media;
public interface IVisual
{
Rect Bounds { get; set; }
IEnumerable<IVisual> ExistingVisualChildren { get; }
bool IsVisible { get; }
double Opacity { get; }
Transform RenderTransform { get; }
Origin TransformOrigin { get; }
IEnumerable<IVisual> VisualChildren { get; }
IVisual VisualParent { get; set; }
void Render(IDrawingContext context);
}
}