mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 16:16:04 +08:00
Improve D2D1 types generation and other helper methods.
This commit is contained in:
17
src/Vortice.Win32.Graphics.Direct2D/BitmapBrushProperties.cs
Normal file
17
src/Vortice.Win32.Graphics.Direct2D/BitmapBrushProperties.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright © Amer Koleci and Contributors.
|
||||
// Licensed under the MIT License (MIT). See LICENSE in the repository root for more information.
|
||||
|
||||
namespace Win32.Graphics.Direct2D;
|
||||
|
||||
public partial struct BitmapBrushProperties
|
||||
{
|
||||
public BitmapBrushProperties(
|
||||
ExtendMode extendModeX = ExtendMode.Clamp,
|
||||
ExtendMode extendModeY = ExtendMode.Clamp,
|
||||
BitmapInterpolationMode interpolationMode = BitmapInterpolationMode.Linear)
|
||||
{
|
||||
this.extendModeX = extendModeX;
|
||||
this.extendModeY = extendModeY;
|
||||
this.interpolationMode = interpolationMode;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user