mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 16:16:04 +08:00
21 lines
690 B
C#
21 lines
690 B
C#
// Copyright © Amer Koleci and Contributors.
|
|
// Licensed under the MIT License (MIT). See LICENSE in the repository root for more information.
|
|
|
|
using Win32.Graphics.Direct2D.Common;
|
|
|
|
namespace Win32.Graphics.Direct2D;
|
|
|
|
public partial struct ImageBrushProperties
|
|
{
|
|
public ImageBrushProperties(in RectF sourceRectangle,
|
|
ExtendMode extendModeX = ExtendMode.Clamp,
|
|
ExtendMode extendModeY = ExtendMode.Clamp,
|
|
InterpolationMode interpolationMode = InterpolationMode.Linear)
|
|
{
|
|
this.sourceRectangle = sourceRectangle;
|
|
this.extendModeX = extendModeX;
|
|
this.extendModeY = extendModeY;
|
|
this.interpolationMode = interpolationMode;
|
|
}
|
|
}
|