зеркало из https://github.com/AvaloniaUI/Avalonia.git
30 строки
730 B
C#
30 строки
730 B
C#
|
// -----------------------------------------------------------------------
|
|||
|
// <copyright file="Geometry.cs" company="Steven Kirk">
|
|||
|
// Copyright 2014 MIT Licence. See licence.md for more information.
|
|||
|
// </copyright>
|
|||
|
// -----------------------------------------------------------------------
|
|||
|
|
|||
|
namespace Perspex.Media
|
|||
|
{
|
|||
|
using Perspex.Platform;
|
|||
|
|
|||
|
public abstract class Geometry
|
|||
|
{
|
|||
|
public abstract Rect Bounds
|
|||
|
{
|
|||
|
get;
|
|||
|
}
|
|||
|
|
|||
|
public IGeometryImpl PlatformImpl
|
|||
|
{
|
|||
|
get;
|
|||
|
protected set;
|
|||
|
}
|
|||
|
|
|||
|
public Rect GetRenderBounds(double strokeThickness)
|
|||
|
{
|
|||
|
return this.PlatformImpl.GetRenderBounds(strokeThickness);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|